diff --git a/src/main.rs b/src/main.rs index d73048a..c209c07 100644 --- a/src/main.rs +++ b/src/main.rs @@ -267,6 +267,7 @@ fn launch(file_path: &PathBuf, args: &str) { println!("Launching {} {}", file_path.display(), args); std::process::Command::new(file_path) .args(args.trim().split(' ')) + .current_dir(file_path.parent().unwrap()) .spawn() .expect("Failed to launch the game") .wait()