From 29665690d6f9f5dd36c4a6564e9741c93f955ea7 Mon Sep 17 00:00:00 2001 From: virtudude Date: Mon, 14 Sep 2026 17:53:55 -0400 Subject: fix: restore fullscreen pages on newer Steam clients (#962) step one of these fixes --- frontend/src/errorboundary-hook.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/errorboundary-hook.tsx') 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()), ); -- cgit v1.2.3