mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix(ui): Started from Steam, the app runs without Steam's overlay (Qt aborted) and stays in the foreground, so Steam Input gives it the controller
This commit is contained in:
1 parent
431515b60f
commit
98e2effcff
2 files changed
+13
No files matched your search
@@ -71,4 +71,9 @@ EOF
|
||||
command -v update-desktop-database >/dev/null && update-desktop-database "$APPS" 2>/dev/null || true
|
||||
|
||||
say "Starting Steamify..."
|
||||
# Started from Steam: stay in the foreground, or Steam counts the game as
|
||||
# ended right away and stops giving it the controller.
|
||||
if [[ -n "${SteamGameId:-}" ]]; then
|
||||
exec "$DEST/ui/steamify-ui" < /dev/null
|
||||
fi
|
||||
setsid "$DEST/ui/steamify-ui" >/dev/null 2>&1 < /dev/null &
|
||||
Reference in new issue
Block a user