Scripts version 2120

This commit is contained in:
castro-fidel
2022-06-26 17:49:07 +03:00
parent bab528078e
commit 2029bb8275
7 changed files with 29 additions and 13 deletions

View File

@ -1,13 +1,13 @@
#!/usr/bin/env bash
# Author: Castro-Fidel (PortWINE-Linux.ru)
########################################################################
export LAUNCH_PARAMETERS=("/silent" )
export LAUNCH_PARAMETERS=("/silent" "/NoLaunch" )
export PW_AUTOINSTALL_EXE="${PW_USER_TEMP}/OriginSetup.exe"
start_portwine
if try_download "download.dm.origin.com/origin/live/OriginSetup.exe" "${PW_AUTOINSTALL_EXE}"
if try_download "origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe" "${PW_AUTOINSTALL_EXE}"
then
pw_start_progress_bar_block "Installing the Origin. Please wait..."
pw_kill_autostart Origin.exe &
# pw_kill_autostart Origin.exe &
pw_run "${PW_AUTOINSTALL_EXE}"
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Origin/Origin.exe"
pw_stop_progress_bar