###Scripts version 1105###

This commit is contained in:
castro-fidel
2021-06-16 17:58:02 +03:00
parent 295d028ba7
commit 62651c1d93
18 changed files with 53 additions and 18 deletions

View File

@ -109,15 +109,15 @@ PW_EPIC () {
}
PW_GOG () {
export LAUNCH_PARAMETERS=("/runWithoutUpdating" "/deelevated" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/OriginSetup.exe"
export LAUNCH_PARAMETERS=("/VERYSILENT")
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/setup_galaxy_2.0.37.384.exe"
START_PORTWINE
if try_download "https://content-system.gog.com/open_link/download?path=/open/galaxy/client/2.0.35.19/setup_galaxy_2.0.35.19a.exe" "${PW_AUTOINSTALL_EXE}"
if try_download "https://content-system.gog.com/open_link/download?path=/open/galaxy/client/2.0.37.384/setup_galaxy_2.0.37.384.exe" "${PW_AUTOINSTALL_EXE}"
then
PW_START_PROGRESS_BAR_CS "Installing the GOG Galaxy. Please wait..."
pw_kill_autostart GalaxyClient.exe &
PW_START_PROGRESS_BAR_BLOCK "Installing the GOG Galaxy. Please wait..."
pw_kill_autostart GalaxyClient.* &
PW_RUN "${PW_AUTOINSTALL_EXE}"
portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "GalaxyClient.exe"`
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/GOG Galaxy/GalaxyClient.exe"
try_remove_file "${PW_AUTOINSTALL_EXE}"
KILL_PORTWINE
PW_STOP_PROGRESS_BAR