diff options
| author | 2025-01-28 21:23:07 -0600 | |
|---|---|---|
| committer | 2025-01-28 21:23:07 -0600 | |
| commit | dc3917b05018cb32e2451d9eaed242036c5e7512 (patch) | |
| tree | f697a64acf2eb5d7d2419d9ca3b97be05f9067ee /src/launcher/download.rs | |
| parent | interactive auth testing (diff) | |
wip: auth
Diffstat (limited to 'src/launcher/download.rs')
| -rw-r--r-- | src/launcher/download.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/launcher/download.rs b/src/launcher/download.rs index ec4a59c..3a89d79 100644 --- a/src/launcher/download.rs +++ b/src/launcher/download.rs @@ -8,9 +8,8 @@ use sha1_smol::{Digest, Sha1}; use tokio::fs; use tokio::fs::File; use tokio::io::{self, AsyncWriteExt}; -use crate::launcher::constants::USER_AGENT; use crate::util; -use crate::util::{FileVerifyError, IntegrityError}; +use crate::util::{FileVerifyError, IntegrityError, USER_AGENT}; pub trait Download: Debug + Display { // return Ok(None) to skip downloading this file |
