fix: electron
This commit is contained in:
parent
f41e68d757
commit
05c2de33f9
|
@ -58,7 +58,7 @@
|
|||
"@humus/app": "^2.1.0",
|
||||
"@humus/bootstrap": "^2.0.0",
|
||||
"@humus/combat": "^2.0.0",
|
||||
"@humus/core": "^2.0.0",
|
||||
"@humus/core": "^2.1.0",
|
||||
"@humus/farm": "^2.0.0",
|
||||
"@humus/inventory": "^2.0.0",
|
||||
"@humus/universe": "^2.1.0",
|
||||
|
|
|
@ -6,7 +6,9 @@ const {
|
|||
|
||||
export const hooks = {
|
||||
'@flecks/core.starting': (flecks) => {
|
||||
if (flecks.fleck('@flecks/electron/server')) {
|
||||
const {browserWindowOptions} = flecks.get('@flecks/electron/server');
|
||||
browserWindowOptions.icon = join(FLECKS_CORE_ROOT, 'icon.png');
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user