diff options
| author | AAGaming <aagaming@riseup.net> | 2024-07-28 18:18:56 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-08-03 14:04:20 -0400 |
| commit | 7b21e81caa748bd0031cdf37e701a01e36ffa5ca (patch) | |
| tree | 251ccdae7e4700ef68c72b66722a833891461ac0 | |
| parent | c2443ee2c5427504fb30b77a86dfd700f2b126f4 (diff) | |
| download | decky-loader-7b21e81caa748bd0031cdf37e701a01e36ffa5ca.tar.gz decky-loader-7b21e81caa748bd0031cdf37e701a01e36ffa5ca.zip | |
inject into desktop ui windows since they don't reload on mode change anymore anyway
| -rw-r--r-- | backend/decky_loader/injector.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/decky_loader/injector.py b/backend/decky_loader/injector.py index 26b0fc01..7d1a40c1 100644 --- a/backend/decky_loader/injector.py +++ b/backend/decky_loader/injector.py @@ -415,7 +415,7 @@ CLOSEABLE_URLS = ["about:blank", "data:text/html,%3Cbody%3E%3C%2Fbody%3E"] # Clo DO_NOT_CLOSE_URLS = ["Valve Steam Gamepad/default", "Valve%20Steam%20Gamepad"] # Steam Big Picture Mode tab def tab_is_gamepadui(t: Tab) -> bool: - return "https://steamloopback.host/routes/" in t.url and t.title in SHARED_CTX_NAMES + return ("https://steamloopback.host/routes/" in t.url or "https://steamloopback.host/index.html" in t.url) and t.title in SHARED_CTX_NAMES async def get_gamepadui_tab() -> Tab: tabs = await get_tabs() |
