diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-10-24 19:14:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-24 16:14:56 -0700 |
| commit | 84c3b039c385ad872bb0f22eba7a3d2cd4a5ea10 (patch) | |
| tree | 20b13066c6256cc6ca1beac085094c7964226a37 /backend/updater.py | |
| parent | 2e6b3834da357c7e81821ce60bad36f54dd9fa6e (diff) | |
| download | decky-loader-84c3b039c385ad872bb0f22eba7a3d2cd4a5ea10.tar.gz decky-loader-84c3b039c385ad872bb0f22eba7a3d2cd4a5ea10.zip | |
preview 10/21/2022 fixes (#234)
* initial fixes: everything working except toasts and patch notes
* tabshook changes, disable toaster for now
* prettier
* oops
* implement custom toaster because I am tired of Valve's shit
also fix QAM not injecting sometimes
* remove extra logging
* add findSP, fix patch notes, fix vscode screwup
* fix patch notes
* show error when plugin frontends fail to load
* add get_tab_lambda
* add css and has_element helpers to Tab
* small modals fixup
* Don't forceUpdate QuickAccess on stable
* add routes prop used to get tabs component
* add more dev utils to DFL global
Diffstat (limited to 'backend/updater.py')
| -rw-r--r-- | backend/updater.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/updater.py b/backend/updater.py index ed1520ab..a209f103 100644 --- a/backend/updater.py +++ b/backend/updater.py @@ -9,7 +9,7 @@ from subprocess import call from aiohttp import ClientSession, web import helpers -from injector import get_tab, inject_to_tab +from injector import get_gamepadui_tab, inject_to_tab from settings import SettingsManager logger = getLogger("Updater") @@ -108,7 +108,7 @@ class Updater: logger.error("release type: NOT FOUND") raise ValueError("no valid branch found") logger.info("Updated remote version information") - tab = await get_tab("SP") + tab = await get_gamepadui_tab() await tab.evaluate_js(f"window.DeckyPluginLoader.notifyUpdates()", False, True, False) return await self.get_version() @@ -125,7 +125,7 @@ class Updater: version = self.remoteVer["tag_name"] download_url = self.remoteVer["assets"][0]["browser_download_url"] - tab = await get_tab("SP") + tab = await get_gamepadui_tab() await tab.open_websocket() async with ClientSession() as web: async with web.request("GET", download_url, ssl=helpers.get_ssl_context(), allow_redirects=True) as res: |
