diff options
Diffstat (limited to 'src-tauri')
| -rw-r--r-- | src-tauri/Cargo.toml | 5 | ||||
| -rw-r--r-- | src-tauri/icons/icon.svg | 2 | ||||
| -rw-r--r-- | src-tauri/src/main.rs | 2 | ||||
| -rw-r--r-- | src-tauri/tauri.conf.json | 4 |
4 files changed, 6 insertions, 7 deletions
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 5a7cfc8..9fe91b7 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dropout" -version = "0.1.24" +version = "0.1.25" edition = "2021" authors = ["HsiangNianian"] description = "The DropOut Minecraft Game Launcher" @@ -27,7 +27,7 @@ flate2 = "1.0" tar = "0.4" dirs = "5.0" serde_urlencoded = "0.7.1" -tauri-plugin-dialog = "2.5.0" +tauri-plugin-dialog = "2.6.0" tauri-plugin-fs = "2.4.5" [build-dependencies] @@ -45,4 +45,3 @@ section = "games" assets = [ ["target/release/dropout", "usr/bin/", "755"], ] - diff --git a/src-tauri/icons/icon.svg b/src-tauri/icons/icon.svg index d8b0ed7..0baf00f 100644 --- a/src-tauri/icons/icon.svg +++ b/src-tauri/icons/icon.svg @@ -47,4 +47,4 @@ <!-- Layer 3: Output - x=412 --> <circle cx="412" cy="256" r="30" fill="#7289da" stroke="#ffffff" stroke-width="4"/> -</svg>
\ No newline at end of file +</svg> diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index ec19d0c..463bd5d 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -523,7 +523,7 @@ async fn start_game( ); // Debug: Log arguments (only first few to avoid spam) if args.len() > 10 { - emit_log!(window, format!("First 10 args: {:?}", &args[..10])); + emit_log!(window, format!("Java Args: {:?}", &args)); } // Get Java path from config or detect diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 450990a..e10c258 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,6 +1,6 @@ { "productName": "dropout", - "version": "0.1.24", + "version": "0.1.25", "identifier": "com.dropout.launcher", "build": { "beforeDevCommand": "pnpm -C ../ui dev", @@ -20,7 +20,7 @@ } ], "security": { - "csp": null, + "csp": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' https: ws: wss:;", "capabilities": ["default"] } }, |