diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 9fecc2d..3146e03 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -150,7 +150,7 @@ fn load(app: AppHandle, name: String) { .spawn() .unwrap(); } else if platform() == "windows" { - Command::new("lncvrt-games-launcher.exe") + Command::new(&update_path.join("lncvrt-games-launcher.exe")) .current_dir(&update_path) .spawn() .unwrap();