diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 3fb6aa8..1e12dbe 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -98,7 +98,7 @@ async fn parse_args(inp: &Vec) -> Result { if args.value_of("launch-game")? { let game_path = config.game_install_path; - let game_args: String = args.value_of("game-args").unwrap_or(String::new()); + let game_args: String = args.value_of("game-args").unwrap_or_default(); // Patch if needed if args.value_of("patch")? {