From dc3917b05018cb32e2451d9eaed242036c5e7512 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Tue, 28 Jan 2025 21:23:07 -0600 Subject: wip: auth --- src/launcher/download.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/launcher/download.rs') 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 -- cgit v1.2.3-70-g09d2