refactor: electron

This commit is contained in:
cha0s 2024-01-13 14:25:58 -06:00
parent bf2d1630ed
commit a1cb769119

View File

@ -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(