diff options
| author | AAGaming <aagaming@riseup.net> | 2024-06-27 00:08:45 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-06-27 00:08:45 -0400 |
| commit | c02a78ed6e1d9c21e84b60d9a5b077d0ee547a8f (patch) | |
| tree | c0dc95670dddae87dcc681a74cdf59974f91c0b4 | |
| parent | c2f8cba4af8042b7f8c443ff7f80a1540d7fa967 (diff) | |
| download | decky-loader-c02a78ed6e1d9c21e84b60d9a5b077d0ee547a8f.tar.gz decky-loader-c02a78ed6e1d9c21e84b60d9a5b077d0ee547a8f.zip | |
fix plugins not loading on install
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 9726b3f2..e84343c4 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -62,9 +62,9 @@ const callPluginMethod = DeckyBackend.callable<[pluginName: string, method: stri class PluginLoader extends Logger { private plugins: Plugin[] = []; - private errorBoundaryHook: ErrorBoundaryHook = new ErrorBoundaryHook(); + public errorBoundaryHook: ErrorBoundaryHook = new ErrorBoundaryHook(); private tabsHook: TabsHook = new TabsHook(); - private routerHook: RouterHook = new RouterHook(); + public routerHook: RouterHook = new RouterHook(); public toaster: Toaster = new Toaster(); private deckyState: DeckyState = new DeckyState(); // stores a map of plugin names to all their event listeners @@ -324,7 +324,7 @@ class PluginLoader extends Logger { } try { - this.reloadLock = true; + if (useQueue) this.reloadLock = true; this.log(`Trying to load ${name}`); this.unloadPlugin(name); |
