Merge branch 'fix_egs' of github.com:alex2844/PortWINE into alex2844-fix_egs
This commit is contained in:
@ -4589,11 +4589,11 @@ portwine_launch () {
|
|||||||
while true ; do
|
while true ; do
|
||||||
sleep 5
|
sleep 5
|
||||||
if [[ -z "$GAMEPID" ]] ; then
|
if [[ -z "$GAMEPID" ]] ; then
|
||||||
GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}')"
|
GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}' | head -n 1)"
|
||||||
else
|
else
|
||||||
if waitpid "$GAMEPID" ; then
|
if waitpid "$GAMEPID" ; then
|
||||||
sleep 1
|
sleep 1
|
||||||
GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}')"
|
GAMEPID="$(pgrep -fa 'EpicPortal|epicusername|epiclocale|AUTH_LOGIN' | awk '{print $1}' | head -n 1)"
|
||||||
[[ -z "$GAMEPID" ]] && break || continue
|
[[ -z "$GAMEPID" ]] && break || continue
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user