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

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

@ -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

@ -745,6 +745,7 @@ else
--field=" Farlight 84"!"$PW_GUI_ICON_PATH/farlight84.png"!"":"FBTN" '@bash -c "button_click --normal PW_FARLIGHT84"' \
--field=" Secret World Legends (ENG)"!"$PW_GUI_ICON_PATH/swl.png"!"":"FBTN" '@bash -c "button_click --normal PW_SWL"' \
--field=" Blood and Soul"!"$PW_GUI_ICON_PATH/bloodandsoul.png"!"":"FBTN" '@bash -c "button_click --normal PW_BLOOD_AND_SOUL"' \
--field=" Star Conflict (ENG)"!"$PW_GUI_ICON_PATH/starconflict.png"!"":"FBTN" '@bash -c "button_click --normal PW_STARCONFLICT"' \
2>/dev/null &
export START_FROM_PP_GUI="1"