Unified · Split
| @@ -410,6 +410,7 @@ async function seedRendererState( · 409 unmodified lines | ||
| 410 | 410 | (() => { |
| 411 | 411 | const key = "t3code:renderer-state:v7"; |
| 412 | 412 | localStorage.setItem("t3code:perf-debug", "1"); |
| 413 | + localStorage.setItem("t3code:perf-bootstrap-skip", "1"); | |
| 413 | 414 | localStorage.setItem(key, JSON.stringify(${JSON.stringify(state)})); |
| 414 | 415 | let projects = -1; |
| 415 | 416 | let threads = -1; |
| @@ -129,6 +129,10 @@ function DesktopProjectBootstrap() { · 128 unmodified lines | ||
| 129 | 129 | |
| 130 | 130 | useEffect(() => { |
| 131 | 131 | if (!isElectron || !api || bootstrappedRef.current) return; |
| 132 | + if (window.localStorage.getItem("t3code:perf-bootstrap-skip") === "1") { | |
| 133 | + bootstrappedRef.current = true; | |
| 134 | + return; | |
| 135 | + } | |
| 132 | 136 | |
| 133 | 137 | let disposed = false; |
| 134 | 138 | let retryDelayMs = 500; |