From 7f9d00c883badd7bdb1d3556714d159f19a64757 Mon Sep 17 00:00:00 2001 From: nomi-nonsz Date: Wed, 11 Feb 2026 13:32:09 +0000 Subject: [PATCH] fix something --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 9fa87b4..f8e9a44 100644 --- a/run.sh +++ b/run.sh @@ -23,7 +23,7 @@ fi APPID=$(echo $RESPONSE | jq -r '.response.players[0].gameid') if [ "$APPID" != "null" ] && [ -n "$APPID" ]; then - if ! pgrep -fa "AppId=$APPID" > /dev/null; then + if pgrep -f steam > /dev/null && ! pgrep -fa "AppId=$APPID" > /dev/null; then # If not playing on CURRENT DEVICE but DETECTED PLAYING ON ACCOUNT echo "[automate steam] detected playing: $APPID ON OTHER DEVICE. quitting" steam steam://exit &