summaryrefslogtreecommitdiff
path: root/frontend/src/router-hook.tsx
diff options
context:
space:
mode:
authorvirtudude <virtudude@protonmail.com>2026-09-14 17:53:55 -0400
committerGitHub <noreply@github.com>2026-09-14 17:53:55 -0400
commit29665690d6f9f5dd36c4a6564e9741c93f955ea7 (patch)
tree8485f76be036d5460a27dedab9d73f6586eecd65 /frontend/src/router-hook.tsx
parent1ea69d315a49376e32f1fba46ffa7d028eed8046 (diff)
downloaddecky-loader-29665690d6f9f5dd36c4a6564e9741c93f955ea7.tar.gz
decky-loader-29665690d6f9f5dd36c4a6564e9741c93f955ea7.zip
fix: restore fullscreen pages on newer Steam clients (#962)
step one of these fixes
Diffstat (limited to 'frontend/src/router-hook.tsx')
-rw-r--r--frontend/src/router-hook.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/router-hook.tsx b/frontend/src/router-hook.tsx
index 9b5f65dc..56a0add9 100644
--- a/frontend/src/router-hook.tsx
+++ b/frontend/src/router-hook.tsx
@@ -60,7 +60,7 @@ class RouterHook extends Logger {
if (reactRouterStackModule) {
this.Route =
Object.values(reactRouterStackModule).find(
- (e) => typeof e == 'function' && /routePath:.\.match\?\.path./.test(e.toString()),
+ (e) => typeof e == 'function' && /routePath:[\w$]+\.match\?\.path./.test(e.toString()),
) ||
Object.values(reactRouterStackModule).find(
(e) => typeof e == 'function' && /routePath:null===\(.=.\.match\)/.test(e.toString()),