refactor: electron
This commit is contained in:
parent
bf2d1630ed
commit
a1cb769119
|
@ -9,8 +9,7 @@ const {
|
||||||
} = process.env;
|
} = process.env;
|
||||||
|
|
||||||
export const hooks = {
|
export const hooks = {
|
||||||
'@flecks/core.starting': (flecks) => {
|
'@flecks/electron/server.browserWindowOptions.alter': (browserWindowOptions) => {
|
||||||
const {browserWindowOptions} = flecks.get('@flecks/electron/server');
|
|
||||||
browserWindowOptions.icon = join(FLECKS_CORE_ROOT, 'icon.png');
|
browserWindowOptions.icon = join(FLECKS_CORE_ROOT, 'icon.png');
|
||||||
},
|
},
|
||||||
'@flecks/electron/server.window': Flecks.priority(
|
'@flecks/electron/server.window': Flecks.priority(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user