From a1cb76911929ae6baf040df22ce8232ccc33114a Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 13 Jan 2024 14:25:58 -0600 Subject: [PATCH] refactor: electron --- packages/core/src/electron/server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/electron/server.js b/packages/core/src/electron/server.js index ee11b97..af2919f 100644 --- a/packages/core/src/electron/server.js +++ b/packages/core/src/electron/server.js @@ -9,8 +9,7 @@ const { } = process.env; export const hooks = { - '@flecks/core.starting': (flecks) => { - const {browserWindowOptions} = flecks.get('@flecks/electron/server'); + '@flecks/electron/server.browserWindowOptions.alter': (browserWindowOptions) => { browserWindowOptions.icon = join(FLECKS_CORE_ROOT, 'icon.png'); }, '@flecks/electron/server.window': Flecks.priority(