diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-16 16:12:46 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-16 16:12:46 -0500 |
| commit | e41a79a9033761916fa133260ff1849288db7df1 (patch) | |
| tree | a2e8e45d73fcb12e15cbfaf30e8aa5d02a957481 /libs/plugin_python/tests | |
| parent | 66633ead443819df5aacc87b3fd1fdee85cddfde (diff) | |
Fix Steam game detection in game mode + add result cache
- Prepend STEAM_COMPAT_CLIENT_INSTALL_PATH as first Steam path candidate.
Steam always sets this env var when launching any app (including in
gamescope/game mode), so it reliably points to the correct Steam root
even when $HOME resolves differently inside the gamescope session.
- Canonicalize VDF-sourced library paths before dedup in
getAllLibraryFolders() so /home/ ↔ /var/home/ symlinks (Bazzite/Fedora
immutable distros) don't produce duplicate scan entries.
- Cache findSteamGames() results in a static hash. Previously,
findSteamGamePath() rebuilt the full library scan 45+ times per launch
(once per registered game plugin). Now the scan runs at most once.
Fixes game detection on Bazzite in Steam Game Mode.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/plugin_python/tests')
0 files changed, 0 insertions, 0 deletions
