summaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src-tauri/src/core')
-rw-r--r--src-tauri/src/core/config.rs2
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,
}
}
}