From 336211f51df6c9aac9d86199c76cfd8470937f67 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Thu, 3 Oct 2024 17:08:35 -0400 Subject: [PATCH] Fix missing components on Oct 2 2024 Steam Beta (#709) --- frontend/package.json | 6 +++--- frontend/pnpm-lock.yaml | 10 +++++----- frontend/src/plugin-loader.tsx | 5 +++-- scripts/deckdebug.sh | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index dff453184..3724e5751 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -47,7 +47,8 @@ } }, "dependencies": { - "@decky/ui": "^4.7.2", + "@decky/ui": "^4.7.3", + "compare-versions": "^6.1.1", "filesize": "^10.1.2", "i18next": "^23.11.5", "i18next-http-backend": "^2.5.2", @@ -55,7 +56,6 @@ "react-i18next": "^14.1.2", "react-icons": "^5.2.1", "react-markdown": "^9.0.1", - "remark-gfm": "^4.0.0", - "compare-versions": "^6.1.1" + "remark-gfm": "^4.0.0" } } diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 4c8b51db7..5e47ba1c2 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@decky/ui': - specifier: ^4.7.2 - version: 4.7.2 + specifier: ^4.7.3 + version: 4.7.3 compare-versions: specifier: ^6.1.1 version: 6.1.1 @@ -218,8 +218,8 @@ packages: '@decky/api@1.1.1': resolution: {integrity: sha512-R5fkBRHBt5QIQY7Q0AlbVIhlIZ/nTzwBOoi8Rt4Go2fjFnoMKPInCJl6cPjXzimGwl2pyqKJgY6VnH6ar0XrHQ==} - '@decky/ui@4.7.2': - resolution: {integrity: sha512-jYXVhbyyupXAcCuFqr7G2qjYVjp8hlMGF8zl8ALv67y0YhikAtfhA2rGUjCuaV3kdo9YrpBh8djRUJXdFPg/Eg==} + '@decky/ui@4.7.3': + resolution: {integrity: sha512-yjCKOt7WxCoaQ2M1Sf7qAkNQhq/H+BzYyo0GYHPqLg0U6qwIdwGsSGp/dugTbb6edIRYRisgSra25J4QTjb5EQ==} '@esbuild/aix-ppc64@0.20.2': resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} @@ -2295,7 +2295,7 @@ snapshots: '@decky/api@1.1.1': {} - '@decky/ui@4.7.2': {} + '@decky/ui@4.7.3': {} '@esbuild/aix-ppc64@0.20.2': optional: true diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index ab086b15c..cb1bb2704 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -168,8 +168,9 @@ class PluginLoader extends Logger { Promise.all([this.getUserInfo(), this.updateVersion()]) .then(() => this.loadPlugins()) - .then(() => this.checkPluginUpdates()) - .then(() => this.log('Initialized')); + .then(() => this.log('Initialized')) + .then(() => sleep(30000)) // Internet might not immediately be up + .then(() => this.checkPluginUpdates()); } private checkForSP(): boolean { diff --git a/scripts/deckdebug.sh b/scripts/deckdebug.sh index ee280661a..c6aa63bf6 100644 --- a/scripts/deckdebug.sh +++ b/scripts/deckdebug.sh @@ -30,7 +30,7 @@ while :; do if [[ $NEWTARGET != "" ]] && [[ $NEWTARGET != $TARGET ]]; then echo found new tab at $NEWTARGET TARGET=$NEWTARGET - TARGETURL="devtools://devtools/bundled/inspector.html?remoteFrontend=true&ws=$ADDR/devtools/page/$TARGET" + TARGETURL="http://$ADDR/devtools/inspector.html?ws=$ADDR/devtools/page/$TARGET" LOCALTARGET=$(echo '{"id": 1, "method": "Target.createTarget", "params": {"background": true, "url": "'$TARGETURL'"}} {"id": 2, "method": "Target.closeTarget", "params": {"targetId": "'$LOCALTARGET'"}}' \