This commit is contained in:
2026-02-11 07:25:08 +00:00
parent cb372a0193
commit 1d685ad6dd

4
run.sh
View File

@@ -23,9 +23,9 @@ if [ "$APPID" != "null" ] && [ -n "$APPID" ]; then
elif pgrep -f steam > /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
steam steam://exit &
fi
else
echo "[automate steam] not playing anything on any device, running game..."
steam -cef-disable-gpu steam://rungamid/$STEAM_RUNGAMEID
steam -cef-disable-gpu steam://rungameid/$STEAM_RUNGAMEID &
fi