From bed9457ad68c0cbda447968b68997cce22eb38b9 Mon Sep 17 00:00:00 2001 From: vapormusic Date: Mon, 24 Jan 2022 09:35:34 +0700 Subject: [PATCH] please dont ruin plugins --- src/main/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index cad03017..0ef0793f 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -33,11 +33,12 @@ electron.app.on('ready', () => { electron.components.whenReady().then(async () => { win = await Cider.createWindow() App.bwCreated(win); + plug.callPlugins('onReady', Cider); win.on("ready-to-show", () => { win.show(); }); }); - plug.callPlugins('onReady', win); + }); /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~