Merge branch 'alex2844-fix_egs' into devel
This commit is contained in:
@ -4589,11 +4589,11 @@ portwine_launch () {
|
||||
while true ; do
|
||||
sleep 5
|
||||
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
|
||||
if waitpid "$GAMEPID" ; then
|
||||
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
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user