Skip to content

Add Windows Steam discovery toggle and per-game runtime option#40

Merged
weter11 merged 2 commits into
mainfrom
feature/windows-steam-controls-12388189810941309764
Apr 19, 2026
Merged

Add Windows Steam discovery toggle and per-game runtime option#40
weter11 merged 2 commits into
mainfrom
feature/windows-steam-controls-12388189810941309764

Conversation

@weter11
Copy link
Copy Markdown
Owner

@weter11 weter11 commented Apr 16, 2026

This change adds user-facing controls for Windows Steam integration. It includes a global launcher setting to toggle game discovery from the Windows Steam prefix and a per-game setting to control the Windows Steam runtime usage using a tri-state policy (Auto, Enabled, Disabled). The launch logic was updated to respect these settings, ensuring that games requiring the official Steam client (like Batman: Arkham Origins) continue to work while providing users with more flexibility. Diagnostics were also enhanced to provide transparency into how the Steam runtime state was resolved for each launch.


PR created automatically by Jules for task 12388189810941309764 started by @weter11

- Added a global toggle 'Discover installed games from Windows Steam' in LauncherConfig.
- Implemented multi-root game discovery in `scan_installed_app_info`, including the master Windows Steam prefix when enabled.
- Introduced `SteamRuntimePolicy` tri-state (Auto, Enabled, Disabled) for per-game Steam runtime control.
- Updated `WineTkgRunner` and `steam_wineprefix_for_game` to respect the new runtime policy while maintaining backward compatibility.
- Added structured diagnostics to track Steam runtime policy, source, and discovery status in launch summaries.
- Updated UI with the new global discovery toggle and per-game runtime policy selector.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Removed all hardcoded checks for AppID 209000 (Batman: Arkham Origins) in launch logic.
- The `SteamRuntimePolicy` tri-state now fully controls runtime usage for all games.
- Updated `WineTkgRunner`, `steam_wineprefix_for_game`, and UI to eliminate title-specific overrides.
- Maintained backward compatibility with the legacy `use_steam_runtime` flag when policy is set to `Auto`.

Co-authored-by: weter11 <14630689+weter11@users.noreply.github.com>
@weter11 weter11 merged commit 8a28497 into main Apr 19, 2026
2 checks passed
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