From 2d44282c212b914006f5ae4a496043b856cb4c23 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Sat, 17 Jun 2023 12:29:17 +0200 Subject: [PATCH] feat: allowed multiple arguments in jadeite --- src/games/honkai/game.rs | 2 +- src/games/star_rail/game.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/games/honkai/game.rs b/src/games/honkai/game.rs index 0a4afc0..79f60c8 100644 --- a/src/games/honkai/game.rs +++ b/src/games/honkai/game.rs @@ -94,7 +94,7 @@ pub fn run() -> anyhow::Result<()> { windows_command += " "; } - windows_command += &format!("'{}/jadeite.exe' 'Z:\\{}/BH3.exe' ", folders.patch.to_string_lossy(), folders.game.to_string_lossy()); + windows_command += &format!("'{}/jadeite.exe' 'Z:\\{}/BH3.exe' -- ", folders.patch.to_string_lossy(), folders.game.to_string_lossy()); if config.game.wine.borderless { windows_command += "-screen-fullscreen 0 -popupwindow "; diff --git a/src/games/star_rail/game.rs b/src/games/star_rail/game.rs index baa302b..4021edc 100644 --- a/src/games/star_rail/game.rs +++ b/src/games/star_rail/game.rs @@ -95,7 +95,7 @@ pub fn run() -> anyhow::Result<()> { windows_command += " "; } - windows_command += &format!("'{}/jadeite.exe' 'Z:\\{}/StarRail.exe' ", folders.patch.to_string_lossy(), folders.game.to_string_lossy()); + windows_command += &format!("'{}/jadeite.exe' 'Z:\\{}/StarRail.exe' -- ", folders.patch.to_string_lossy(), folders.game.to_string_lossy()); if config.game.wine.borderless { windows_command += "-screen-fullscreen 0 -popupwindow ";