Added game Star Conflict

This commit is contained in:
Sergey Palcheh
2024-09-29 13:58:28 +06:00
parent 985bea612c
commit 96e4ccc354
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Author: chal55rus
########################################################################
export PW_PREFIX_NAME="STARCONFLICT"
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/starconf_launcher_1.0.3.10.exe"
export PORTWINE_CREATE_SHORTCUT_NAME="Star Conflict"
start_portwine
if try_download "https://yupmaster.gaijinent.com/launcher/current.php?id=StarConflictLauncher" "${PW_AUTOINSTALL_EXE}" no_mirror
then
pw_start_progress_bar_install_game "Star Conflict ..."
pw_kill_autostart launcher.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="${WINEPREFIX}/drive_c/users/steamuser/AppData/Local/StarConflict/launcher.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
kill_portwine
pw_stop_progress_bar
portwine_create_shortcut
fi
stop_portwine