From 23944f7cbf8d72f81e0f4128d335086dfda2e4ed Mon Sep 17 00:00:00 2001 From: Sims <38142618+suchmememanyskill@users.noreply.github.com> Date: Sat, 1 Jun 2024 13:49:08 +0200 Subject: Add new user agent (#610) --- backend/decky_loader/injector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/decky_loader/injector.py b/backend/decky_loader/injector.py index f72ffb7b..26b0fc01 100644 --- a/backend/decky_loader/injector.py +++ b/backend/decky_loader/injector.py @@ -412,7 +412,7 @@ async def get_tab_lambda(test: Callable[[Tab], bool]) -> Tab: SHARED_CTX_NAMES = ["SharedJSContext", "Steam Shared Context presented by Valveā„¢", "Steam", "SP"] CLOSEABLE_URLS = ["about:blank", "data:text/html,%3Cbody%3E%3C%2Fbody%3E"] # Closing anything other than these *really* likes to crash Steam -DO_NOT_CLOSE_URLS = ["Valve Steam Gamepad/default", "Valve%20Steam%20Gamepad/default"] # Steam Big Picture Mode tab +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 -- cgit v1.2.3