From 84c3b039c385ad872bb0f22eba7a3d2cd4a5ea10 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Mon, 24 Oct 2022 19:14:56 -0400 Subject: 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 --- backend/updater.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backend/updater.py') 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: -- cgit v1.2.3