diff options
| author | Filip Wandzio <contact@philw.dev> | 2026-01-24 08:29:14 +0100 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2026-01-24 08:29:14 +0100 |
| commit | a393e0a2f2c3678a3ea869dc1417fa269f2b1040 (patch) | |
| tree | 606df6a9284b5bd2dbf84fa5e3d363b8e6a01322 /src/constants.rs | |
| parent | 72ddd7b7704f2087a52c9c0552446682918c513b (diff) | |
| download | dml-a393e0a2f2c3678a3ea869dc1417fa269f2b1040.tar.gz dml-a393e0a2f2c3678a3ea869dc1417fa269f2b1040.zip | |
Resolve audio not loading bug
Ensure all assets are downloading for each version
Temporarily disable minecraft versions older than 1.8 because of the asset/manifest loading issues
Implement basic documentation of modules
Implement basic async/multithreading for downloading assets
Diffstat (limited to 'src/constants.rs')
| -rw-r--r-- | src/constants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs index 52833b2..3234fe6 100644 --- a/src/constants.rs +++ b/src/constants.rs | |||
| @@ -8,6 +8,6 @@ pub const VERSION_MANIFEST_URL: &str = | |||
| 8 | pub const DOWNLOAD_RETRIES: usize = 3; | 8 | pub const DOWNLOAD_RETRIES: usize = 3; |
| 9 | pub const DOWNLOAD_BACKOFF: Duration = Duration::from_millis(400); | 9 | pub const DOWNLOAD_BACKOFF: Duration = Duration::from_millis(400); |
| 10 | 10 | ||
| 11 | pub const DEFAULT_MAX_MEMORY_MB: u32 = 2048; | 11 | pub const DEFAULT_MAX_MEMORY_MB: u32 = 4048; |
| 12 | pub const DEFAULT_JAVA_PATH: &str = "java"; | 12 | pub const DEFAULT_JAVA_PATH: &str = "java"; |
| 13 | pub const DEFAULT_VERSION: &str = "latest"; | 13 | pub const DEFAULT_VERSION: &str = "latest"; |
