summaryrefslogtreecommitdiff
path: root/frontend/src/plugin-loader.tsx
diff options
context:
space:
mode:
authorParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2024-03-01 23:07:51 +0000
committerParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2024-03-01 23:07:51 +0000
commit11b743a79285d458bf7ef31ac6f1c62ed46d7b86 (patch)
treee4bcc54bd54a8ae9f2275e57127ff90ed8b7acc9 /frontend/src/plugin-loader.tsx
parent637e3c566e3aee04c57de008a0a0a8b5e95b447f (diff)
downloaddecky-loader-11b743a79285d458bf7ef31ac6f1c62ed46d7b86.tar.gz
decky-loader-11b743a79285d458bf7ef31ac6f1c62ed46d7b86.zip
Add loading bar to testing page and make downloading more robust
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
-rw-r--r--frontend/src/plugin-loader.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index d9b1211e..7a87253f 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -78,6 +78,9 @@ class PluginLoader extends Logger {
'loader/add_multiple_plugins_install_prompt',
this.addMultiplePluginsInstallPrompt.bind(this),
);
+ DeckyBackend.addEventListener('updater/update_download_percentage', () => {
+ this.deckyState.setIsLoaderUpdating(true);
+ });
this.tabsHook.init();