###Scripts version 1105###
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user