fix: electron

This commit is contained in:
cha0s 2023-11-30 18:50:20 -06:00
parent f41e68d757
commit 05c2de33f9
2 changed files with 5 additions and 3 deletions

View File

@ -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",

View File

@ -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');
}
},
};