forked from CastroFidel/PortWINE
update mw autoinstall
This commit is contained in:
@ -2,8 +2,9 @@
|
||||
# Author: ValoKarDin
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/VERYSILENT")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/.exe"
|
||||
export PW_PREFIX_NAME="MW"
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/modern_warships.exe"
|
||||
export PW_PREFIX_NAME="MODERN_WARSHIPS"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Modern Warships"
|
||||
|
||||
start_portwine
|
||||
|
||||
@ -12,8 +13,8 @@ then
|
||||
pw_start_progress_bar_block "Starting Modern Warships installation..."
|
||||
pw_kill_autostart launcher.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/users/steamuser/AppData/Local/ModernWarships/launcher.exe"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Modern Warships"
|
||||
portwine_exe="$WINEPREFIX/drive_c/users/$USER/AppData/Local/ModernWarships/launcher.exe"
|
||||
pw_create_unique_exe "modern_warships_pp"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
|
Reference in New Issue
Block a user