summaryrefslogtreecommitdiff
path: root/frontend/src/errorboundary-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/errorboundary-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/errorboundary-hook.tsx')
-rw-r--r--frontend/src/errorboundary-hook.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/errorboundary-hook.tsx b/frontend/src/errorboundary-hook.tsx
index 70aa2188..9dbe9dcd 100644
--- a/frontend/src/errorboundary-hook.tsx
+++ b/frontend/src/errorboundary-hook.tsx
@@ -24,7 +24,7 @@ class ErrorBoundaryHook extends Logger {
window.__ERRORBOUNDARY_HOOK_INSTANCE = this;
// valve writes only the sanest of code
- const exp = /^\(\)=>\(.\|\|(?:.\(|\(.=)new .\),.\)$/;
+ const exp = /^\(\)=>\([\w$]+\|\|(?:[\w$]+\(|\([\w$]+=)new [\w$]+\),[\w$]+\)$/;
const initErrorReportingStore = findModuleExport(
(e) => typeof e == 'function' && e?.toString && exp.test(e.toString()),
);