Compare commits
4 Commits
2.2.0
...
69f67d303e
| Author | SHA1 | Date | |
|---|---|---|---|
| 69f67d303e | |||
| 6d05440d98 | |||
| 972c310673 | |||
| 90b703ee30 |
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "town-of-us-updater"
|
||||
version = "2.2.0"
|
||||
version = "3.0.0"
|
||||
edition = "2021"
|
||||
build = "src/build.rs"
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ A tool to automatically install the **Town of Us R** mod for **Among Us**.
|
||||
- Caches old builds to allow you to continue playing the mod in case of a breaking Among Us update
|
||||
- GUI to select which build to play
|
||||
- Auto-detection of Among Us install directory
|
||||
- Auto-launch of BetterCrewLink if installed
|
||||
|
||||
# Contributing
|
||||
|
||||
|
||||
@@ -201,12 +201,10 @@ impl AppDelegate<AppData> for Delegate {
|
||||
"Downloading Town of Us... Please be patient! [{}]",
|
||||
ver_url.1.clone()
|
||||
);
|
||||
let client = reqwest::blocking::Client::builder()
|
||||
.timeout(None)
|
||||
.build()
|
||||
let zip = reqwest::blocking::get(ver_url.1.clone())
|
||||
.unwrap()
|
||||
.bytes()
|
||||
.unwrap();
|
||||
let zip_request = client.get(ver_url.1.clone()).build().unwrap();
|
||||
let zip = client.execute(zip_request).unwrap().bytes().unwrap();
|
||||
fs::write(download_path.clone(), zip).unwrap();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user