refactor: electron
This commit is contained in:
parent
bf2d1630ed
commit
a1cb769119
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user