mac download (#77)

* mac download

* clippy
This commit is contained in:
Wyatt Verchere
2023-04-11 07:15:37 -07:00
committed by GitHub
parent d23bc4450d
commit ac6ad0ef2e
10 changed files with 63 additions and 25 deletions

View File

@@ -31,7 +31,9 @@ async fn main() -> theseus::Result<()> {
// Initialize state
let st = State::get().await?;
st.settings.write().await.max_concurrent_downloads = 10;
st.settings.write().await.max_concurrent_downloads = 5;
// Changed the settings, so need to reset the semaphore
st.reset_semaphore().await;
// Clear profiles
println!("Clearing profiles.");