diff options
| author | 2026-01-14 14:02:32 +0800 | |
|---|---|---|
| committer | 2026-01-14 14:02:32 +0800 | |
| commit | 1f13026ec0f023c7762d7a9744ea5d9fbe911a53 (patch) | |
| tree | 3227663e913663e5fce0847f3c717cc3fccb61fc /src-tauri/src/main.rs | |
| parent | d0023c586cfe90a928f70c0d81e388b495d5ae28 (diff) | |
| parent | c61620ffd2071c9b08e0a4da3c6550a243dd534f (diff) | |
| download | DropOut-1f13026ec0f023c7762d7a9744ea5d9fbe911a53.tar.gz DropOut-1f13026ec0f023c7762d7a9744ea5d9fbe911a53.zip | |
Merge pull request #17 from HsiangNianian/feat/display-download-rate-and-progress-with-concurrency
Diffstat (limited to 'src-tauri/src/main.rs')
| -rw-r--r-- | src-tauri/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index d7ae9a4..73310d5 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -262,8 +262,8 @@ async fn start_game( )); // 4. Start Download - emit_log!(window, "Starting downloads...".to_string()); - core::downloader::download_files(window.clone(), download_tasks) + emit_log!(window, format!("Starting downloads with {} concurrent threads...", config.download_threads)); + core::downloader::download_files(window.clone(), download_tasks, config.download_threads as usize) .await .map_err(|e| e.to_string())?; emit_log!(window, "All downloads completed successfully".to_string()); |