forked from CastroFidel/PortWINE
Scripts version 2081
This commit is contained in:
@ -7,16 +7,16 @@ start_portwine
|
||||
if try_download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" "${PW_AUTOINSTALL_EXE}"
|
||||
then
|
||||
pw_start_progress_bar_block "Installing Epic Games Launcher. Please wait..."
|
||||
pw_kill_autostart EpicGamesLauncher.exe &
|
||||
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}" &
|
||||
sleep 10
|
||||
if [ ! -z `pgrep msiexec* | head -n 1` ] ; then
|
||||
while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | head -n 1` ] || [ ! -z `pgrep -a wrap | grep ${portname} | head -n 1` ]
|
||||
do
|
||||
[ ! -z `pgrep rundll32* | head -n 1` ] && kill -n 9 `pgrep rundll32* | head -n 1` && echo "Kill rundll32.exe"
|
||||
sleep 5
|
||||
done
|
||||
fi
|
||||
# pw_kill_autostart EpicGamesLauncher.exe &
|
||||
pw_run msiexec /i "${PW_AUTOINSTALL_EXE}"
|
||||
# sleep 10
|
||||
# if [ ! -z `pgrep msiexec* | head -n 1` ] ; then
|
||||
# while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | head -n 1` ] || [ ! -z `pgrep -a wrap | grep ${portname} | head -n 1` ]
|
||||
# do
|
||||
# [ ! -z `pgrep rundll32* | head -n 1` ] && kill -n 9 `pgrep rundll32* | head -n 1` && echo "Kill rundll32.exe"
|
||||
# sleep 5
|
||||
# done
|
||||
# fi
|
||||
portwine_exe="$WINEPREFIX/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
kill_portwine
|
||||
|
Reference in New Issue
Block a user