Skip to content

Commit

Permalink
fix plugins not loading on install
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Jun 27, 2024
1 parent c2f8cba commit c02a78e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/plugin-loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit c02a78e

Please sign in to comment.