diff options
| author | 2026-01-14 13:35:29 +0800 | |
|---|---|---|
| committer | 2026-01-14 13:35:29 +0800 | |
| commit | 791bd84d175d8d454d8a7846dea63d57653ed7e1 (patch) | |
| tree | 2a59fc8fa4db829bcb43dac96083788132f73a42 /src-tauri/src/core/config.rs | |
| parent | 41eb19b2e7358017918a78eb8fa59bfbf2e05918 (diff) | |
| download | DropOut-791bd84d175d8d454d8a7846dea63d57653ed7e1.tar.gz DropOut-791bd84d175d8d454d8a7846dea63d57653ed7e1.zip | |
feat: add download_threads to LauncherConfig and update download logging
Diffstat (limited to 'src-tauri/src/core/config.rs')
| -rw-r--r-- | src-tauri/src/core/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-tauri/src/core/config.rs b/src-tauri/src/core/config.rs index 47c5306..dc72dcb 100644 --- a/src-tauri/src/core/config.rs +++ b/src-tauri/src/core/config.rs @@ -11,6 +11,7 @@ pub struct LauncherConfig { pub java_path: String, pub width: u32, pub height: u32, + pub download_threads: u32, // concurrent download threads } impl Default for LauncherConfig { @@ -21,6 +22,7 @@ impl Default for LauncherConfig { java_path: "java".to_string(), width: 854, height: 480, + download_threads: 32, } } } |