aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-16 17:00:47 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-16 17:00:47 +0800
commita4b0ca37b78cb4993588c5b71092e04650e3681c (patch)
treebf3655f9b5b2dd2c6a0cf6b99207d5db04996a20 /src-tauri
parent80e9733a5e4785c44c86b4a09d926868bd5f037e (diff)
downloadDropOut-a4b0ca37b78cb4993588c5b71092e04650e3681c.tar.gz
DropOut-a4b0ca37b78cb4993588c5b71092e04650e3681c.zip
fix: update logging for Java arguments in game start function
Modified the logging statement in the start_game function to display all Java arguments instead of just the first ten, improving debugging capabilities.
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index 6ea6ece..5ccbe96 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));
}
// Spawn the process