From 0e3a66408bac7ebe73ba029ffcf1f97772c7b819 Mon Sep 17 00:00:00 2001 From: xXJsonDeruloXx Date: Mon, 2 Feb 2026 12:14:42 -0500 Subject: Fix Steam process tracking - filter out leading -- separators Steam adds -- separators to launch options which can break process tracking. This fix filters them out before executing the game command. Applied to defaults/assets/fgmod.sh Credit: https://github.com/benjamimgois/goverlay/commit/72d38b10a7710e628fef731eb4f9f335a4d80bd2 --- defaults/assets/fgmod.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'defaults/assets') diff --git a/defaults/assets/fgmod.sh b/defaults/assets/fgmod.sh index ba8846a..54b69c4 100755 --- a/defaults/assets/fgmod.sh +++ b/defaults/assets/fgmod.sh @@ -168,6 +168,12 @@ if [[ $# -gt 1 ]]; then # Execute the original command with proper environment variables export SteamDeck=0 export WINEDLLOVERRIDES="dxgi=n,b${WINEDLLOVERRIDES:+,$WINEDLLOVERRIDES}" + + # Filter out leading -- separators (from Steam launch options) + while [[ $# -gt 0 && "$1" == "--" ]]; do + shift + done + exec "$@" else echo "Done!" -- cgit v1.2.3