Skip to content

Commit a2a2f18

Browse files
authored
Merge pull request #890 from th-ch/load-plugins-on-window-creation
Load plugins as soon as the window is created
2 parents e587f02 + c2fbc89 commit a2a2f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ function createMainWindow() {
152152
: "default",
153153
autoHideMenuBar: config.get("options.hideMenu"),
154154
});
155+
loadPlugins(win);
155156

156157
if (windowPosition) {
157158
const { x, y } = windowPosition;
@@ -284,7 +285,6 @@ app.once("browser-window-created", (event, win) => {
284285
}
285286

286287
setupSongInfo(win);
287-
loadPlugins(win);
288288
setupAppControls();
289289

290290
win.webContents.on("did-fail-load", (

0 commit comments

Comments
 (0)