summaryrefslogtreecommitdiffstats
path: root/src/launcher/download.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-01-28 21:23:07 -0600
committerLibravatar bigfoot547 <[email protected]>2025-01-28 21:23:07 -0600
commitdc3917b05018cb32e2451d9eaed242036c5e7512 (patch)
treef697a64acf2eb5d7d2419d9ca3b97be05f9067ee /src/launcher/download.rs
parentinteractive auth testing (diff)
wip: auth
Diffstat (limited to 'src/launcher/download.rs')
-rw-r--r--src/launcher/download.rs3
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