Skip to content

feat: close Big Picture and quit Steam when going back to the PC - #121

Merged
lippdev merged 4 commits into
mainfrom
feat/close-steam-on-restore
Sep 30, 2026
Merged

lippdev merged 4 commits into
mainfrom
feat/close-steam-on-restore

Conversation

@lippdev

@lippdev lippdev commented Sep 30, 2026

Copy link
Copy Markdown
Owner

Going back to the PC now always closes Big Picture (steam://close/bigpicture, then WM_CLOSE) and asks Steam to exit normally with steam.exe -shutdown. Never a kill. Steam is kept when a game is running or when the new setting (Settings → Close Steam when going back to the PC, on by default) is off. Supersedes #45.

Build left to CI (Windows only); dotnet test passes (172). Real-session checks are in docs/TESTING.md section 3c.

🤖 Generated with Claude Code

lippdev and others added 2 commits September 30, 2026 16:56
Big Picture is always closed on restore; Steam is asked to exit with
steam.exe -shutdown (never killed) unless a game is running or the new
setting is off.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The setting can be ignored at session start, and an unreadable Steam game-state value is treated as permission to shut Steam down. Please address these before merging.

Reviewed changes The review covers the Steam shutdown-on-restore feature, its settings plumbing and tests.

  • Restore behavior Closes Big Picture and requests Steam's normal shutdown when the configured launcher is Big Picture and no Steam game is detected.
  • User setting Adds a default-on setting to control whether Steam is closed, with localized UI and manual test steps.
  • Policy tests Adds platform-independent tests for shutdown decisions and parsing Steam's registered running app ID.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using GPT Luna | 𝕏

Comment thread src/ConsoleMode/Services/ConsoleEngine.cs
Comment thread src/ConsoleMode/Services/SteamSession.cs Outdated
@lippdev
lippdev merged commit 5829a89 into main Sep 30, 2026
4 checks passed

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes Re-reviewed the changes since the prior Pullfrog review, including the updates merged at 9585105.

  • Preserved the opt-out setting Copied CloseSteamOnRestore into the reconstructed config so the user's preference reaches the runtime state.
  • Kept Steam open when game state is unknown Distinguished unreadable or malformed RunningAppID values from a confirmed zero before deciding whether to request shutdown.

Pullfrog  | View workflow run | Using GPT Luna | 𝕏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant