fix oopsie breaking decky on the latest beta

This commit is contained in:
AAGaming
2024-08-13 21:14:17 -04:00
parent 3656f541e6
commit e5e75cc16e
+1 -1
View File
@@ -7,7 +7,7 @@ interface Window {
(async () => { (async () => {
// Wait for main webpack chunks to definitely be loaded // Wait for main webpack chunks to definitely be loaded
console.time('[Decky:Boot] Waiting for main Webpack chunks...'); console.time('[Decky:Boot] Waiting for main Webpack chunks...');
while (!window.webpackChunksteamui || window.webpackChunksteamui.length < 8) { while (!window.webpackChunksteamui || window.webpackChunksteamui.length < 5) {
await new Promise((r) => setTimeout(r, 10)); // Can't use DFL sleep here. await new Promise((r) => setTimeout(r, 10)); // Can't use DFL sleep here.
} }
console.timeEnd('[Decky:Boot] Waiting for main Webpack chunks...'); console.timeEnd('[Decky:Boot] Waiting for main Webpack chunks...');