From 141d17fea0f166242aeb915297458aef54356283 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Mon, 6 Apr 2026 13:05:21 -0700 Subject: [PATCH] Fix issues with macOS app launching on non .app executables --- src-tauri/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index d22b91d..2c1f964 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -467,7 +467,7 @@ fn launch_game( Err(_) => return, }; - if platform() == "macos" && !bepinex_folder.exists() { + if platform() == "macos" && !bepinex_folder.exists() && executable.ends_with(".app") { if let Err(_) = Command::new("open") .arg(&executable) .current_dir(&game_folder)