forked from CastroFidel/PortWINE
Scripts version 2234
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
########################################################################
|
||||
[ "${update_loc}" = "RUS" ] && export BN_LOC=ruRU || export BN_LOC=enUS
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Battle.net-Setup-${BN_LOC}.exe"
|
||||
|
||||
start_portwine
|
||||
if try_download_game "https://battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
|
@ -4,6 +4,7 @@
|
||||
export PW_VULKAN_USE=2
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/gi_installer.exe"
|
||||
export PW_PREFIX_NAME="GENSHIN_IMPACT"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Genshin Impact"
|
||||
|
||||
start_portwine
|
||||
|
||||
@ -13,12 +14,12 @@ then
|
||||
pw_kill_autostart launcher.exe &
|
||||
export PATH_TO_GAME="${PW_USER_TEMP}"
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files/Genshin Impact/launcher.exe"
|
||||
export portwine_exe="$WINEPREFIX/drive_c/Program Files/Genshin Impact/launcher.exe"
|
||||
pw_create_unique_exe
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Genshin Impact"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
|
||||
|
@ -3,6 +3,8 @@
|
||||
########################################################################
|
||||
export PW_VULKAN_USE="1"
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Rockstar-Games-Launcher.exe"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar"
|
||||
|
||||
start_portwine
|
||||
if try_download_game "https://gamedownloads.rockstargames.com/public/installer/Rockstar-Games-Launcher.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
@ -11,11 +13,11 @@ then
|
||||
pw_kill_autostart RockstarService.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "Launcher.exe" | grep "Rockstar Games/Launcher/Launcher.exe"`
|
||||
pw_create_unique_exe "rockstar_launcher_pp"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Rockstar"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
||||
|
@ -3,6 +3,7 @@
|
||||
########################################################################
|
||||
export LAUNCH_PARAMETERS=("/q")
|
||||
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/Warframe.msi"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Warframe"
|
||||
|
||||
start_portwine
|
||||
if try_download_game "http://content.warframe.com/dl/Warframe.msi" "${PW_AUTOINSTALL_EXE}"
|
||||
@ -10,16 +11,12 @@ then
|
||||
pw_start_progress_bar_block "${loc_gui_installing_the} Warframe. ${loc_gui_please_wait} "
|
||||
pw_kill_autostart Launcher.exe 3 &
|
||||
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
|
||||
|
||||
pushd "${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Warframe/Downloaded/Public/Tools/"
|
||||
ln -s Launcher.exe Warframe_Launcher.exe
|
||||
popd
|
||||
portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Warframe/Downloaded/Public/Tools/Warframe_Launcher.exe"
|
||||
export portwine_exe="${WINEPREFIX}/drive_c/users/$USER/AppData/Local/Warframe/Downloaded/Public/Tools/Launcher.exe"
|
||||
pw_create_unique_exe "warframe_launcher_pp"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="Warframe"
|
||||
portwine_create_shortcut
|
||||
fi
|
||||
stop_portwine
|
||||
|
@ -14,15 +14,25 @@ start_portwine
|
||||
if try_download_game "https://installer.launcher.xsolla.com/xlauncher-builds/xsolla-launcher-update/${WOSB_VERSION}/bin/installer.exe" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing World of Sea Battle. ${loc_gui_please_wait} "
|
||||
|
||||
# pw_kill_autostart WorldOfSeaBattleClient.exe &
|
||||
pw_run "${PW_AUTOINSTALL_EXE}"
|
||||
portwine_exe="$WINEPREFIX/drive_c/users/$USER/AppData/Local/Wosb Launcher/launcher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
kill_portwine
|
||||
pw_stop_progress_bar
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle"
|
||||
portwine_create_shortcut
|
||||
kill_portwine
|
||||
|
||||
if [[ "${update_loc}" == "RUS" ]] ; then
|
||||
export portwine_exe="$WINEPREFIX/drive_c/users/$USER/AppData/Local/Wosb Launcher/launcher.exe"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle (RU)"
|
||||
pw_create_unique_exe "wosb_launcher_ru"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
export PW_SKIP_RESTART_STEAM=1
|
||||
portwine_create_shortcut block_name
|
||||
fi
|
||||
|
||||
export portwine_exe="$WINEPREFIX/drive_c/users/$USER/AppData/Local/Wosb Launcher/launcher.exe"
|
||||
export PORTWINE_CREATE_SHORTCUT_NAME="World of Sea Battle (EN)"
|
||||
pw_create_unique_exe "wosb_launcher_en"
|
||||
try_remove_file "${portwine_exe}.ppdb"
|
||||
portwine_create_shortcut block_name
|
||||
|
||||
fi
|
||||
stop_portwine
|
||||
|
Reference in New Issue
Block a user