feat: Refactor game station launch scripts and update session management

This commit is contained in:
2025-10-27 00:06:05 +01:00
parent adc893de6e
commit 49de842b57
8 changed files with 147 additions and 45 deletions
@@ -101,7 +101,7 @@ srm add >> "$LOGFILE" 2>&1 || log "ERROR: Steam ROM Manager update failed"
STEAM_ARGS=("-steamdeck" "-steamos3" "-steampal" "-gamepadui" "-pipewire-dmabuf")
log "Launching Steam: $STEAM_BIN ${STEAM_ARGS[*]}"
exec steam "${STEAM_ARGS[@]}" &
exec $STEAM_BIN "${STEAM_ARGS[@]}" &
sleep 5
systemd-run --user --slice=sunshine.slice --scope sunshine >>"$LOGFILE" 2>&1 || {