From 8016e2994361044e0818493ea043d07257ab17cd Mon Sep 17 00:00:00 2001 From: Mikhail Tergoev Date: Thu, 20 Mar 2025 19:06:55 +0300 Subject: [PATCH] updated path for WOSB installing --- .../scripts/pw_autoinstall/PW_WORLD_OF_SEA_BATTLE | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/pw_autoinstall/PW_WORLD_OF_SEA_BATTLE b/data_from_portwine/scripts/pw_autoinstall/PW_WORLD_OF_SEA_BATTLE index 7e24396..ea32df5 100755 --- a/data_from_portwine/scripts/pw_autoinstall/PW_WORLD_OF_SEA_BATTLE +++ b/data_from_portwine/scripts/pw_autoinstall/PW_WORLD_OF_SEA_BATTLE @@ -22,7 +22,10 @@ then pw_run "${PW_AUTOINSTALL_EXE}" try_remove_file "${PW_AUTOINSTALL_EXE}" try_remove_file "${portwine_exe}.ppdb" - export portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Wosb Launcher/launcher.exe" + if [[ -f "$WINEPREFIX/drive_c/Games/Wosb Launcher/launcher.exe" ]] + then export portwine_exe="$WINEPREFIX/drive_c/Games/Wosb Launcher/launcher.exe" + else export portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/Wosb Launcher/launcher.exe" + fi pw_create_unique_exe "wosb_launcher_pp" kill_portwine pw_stop_progress_bar