Add Windows Steam discovery toggle and per-game runtime option#40
Conversation
- 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>
|
👋 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 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>
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