diff --git a/src/http_async.rs b/src/http_async.rs index ce977e4..7f45b8e 100644 --- a/src/http_async.rs +++ b/src/http_async.rs @@ -19,6 +19,14 @@ pub async fn download_file( ) -> Result<(), String> { let res = client .get(url) + .header( + "User-Agent", + &format!( + "AlterWare Launcher | github.com/{}/{}", + crate::global::GH_OWNER, + crate::global::GH_REPO + ), + ) .send() .await .or(Err(format!("Failed to GET from '{}'", &url)))?;