Fix linux and windows compiling issue

This commit is contained in:
2026-02-14 16:07:57 -07:00
parent 29c90d2f06
commit 39da88a856

View File

@@ -278,6 +278,9 @@ fn launch_game(
//if already running on macos, it'll auto take the user to that proccess //if already running on macos, it'll auto take the user to that proccess
#[cfg(any(target_os = "windows", target_os = "linux"))] #[cfg(any(target_os = "windows", target_os = "linux"))]
{ {
use tauri_plugin_dialog::MessageDialogKind;
use tauri_plugin_dialog::DialogExt;
if !use_wine && is_running_by_path(&exe_path) { if !use_wine && is_running_by_path(&exe_path) {
app.dialog() app.dialog()
.message(format!( .message(format!(