aboutsummaryrefslogtreecommitdiff
path: root/libs/plugin_python/tests/python/test_functional.py
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-16 16:12:46 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-16 16:12:46 -0500
commite41a79a9033761916fa133260ff1849288db7df1 (patch)
treea2e8e45d73fcb12e15cbfaf30e8aa5d02a957481 /libs/plugin_python/tests/python/test_functional.py
parent66633ead443819df5aacc87b3fd1fdee85cddfde (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/python/test_functional.py')
0 files changed, 0 insertions, 0 deletions