From c2fbc89b91837fbcf87dc55ae2eccc830108d23f Mon Sep 17 00:00:00 2001 From: TC Date: Sun, 20 Nov 2022 20:30:35 +0100 Subject: [PATCH] Load plugins as soon as the window is created --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 81249b3a..7cf0a99e 100644 --- a/index.js +++ b/index.js @@ -152,6 +152,7 @@ function createMainWindow() { : "default", autoHideMenuBar: config.get("options.hideMenu"), }); + loadPlugins(win); if (windowPosition) { const { x, y } = windowPosition; @@ -284,7 +285,6 @@ app.once("browser-window-created", (event, win) => { } setupSongInfo(win); - loadPlugins(win); setupAppControls(); win.webContents.on("did-fail-load", (