forked from CastroFidel/PortWINE
###Scripts version 1097###
This commit is contained in:
@ -73,11 +73,11 @@ PW_BATTLE_NET () {
|
||||
PW_START_PROGRESS_BAR "Installing the Battle Net. Please wait..."
|
||||
PW_RUN "${PW_AUTOINSTALL_EXE}"
|
||||
while [ ! -z `pgrep Battle.net* | head -n 1` ] && [ -z `pgrep Battle.net.exe | head -n 1` ] ; do sleep 2 ; done
|
||||
KILL_PORTWINE
|
||||
KILL_PORTWINE
|
||||
portwine_exe=`find "$WINEPREFIX/drive_c/" -type f -name "Battle.net.exe"`
|
||||
PW_STOP_PROGRESS
|
||||
PORTWINE_CREATE_SHORTCUT
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
try_remove_file "${PW_AUTOINSTALL_EXE}"
|
||||
fi
|
||||
STOP_PORTWINE
|
||||
}
|
||||
@ -91,8 +91,8 @@ PW_EPIC () {
|
||||
PW_START_PROGRESS_BAR_BLOCK "Installing Epic Games Launcher. Please wait..."
|
||||
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` ] ; do
|
||||
if [ ! -z `pgrep msiexec* | head -n 1` ] ; then
|
||||
while [ ! -z `pgrep msiexec* | head -n 1` ] || [ ! -z `pgrep rundll32* | 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
|
||||
|
Reference in New Issue
Block a user