From e0294fcad59fa1745944505e04616c2bf42a93ce Mon Sep 17 00:00:00 2001 From: EMRG Evolution Date: Tue, 18 Aug 2026 11:40:44 +0800 Subject: [PATCH] emrg: fix electron-builder icon resolution via buildResources (rant 2026-08-18T11:35:25) --- emrg/gui/package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/emrg/gui/package.json b/emrg/gui/package.json index e9524655..b82f9f07 100644 --- a/emrg/gui/package.json +++ b/emrg/gui/package.json @@ -46,7 +46,7 @@ "package.json", "scripts/**" ], - "icon": "../packaging/assets/icon.png", + "icon": "icon.png", "mac": { "hardenedRuntime": true, "notarize": false, @@ -60,7 +60,7 @@ } ], "category": "public.app-category.developer-tools", - "icon": "../packaging/assets/icon.icns" + "icon": "icon.icns" }, "win": { "target": [ @@ -71,7 +71,7 @@ ] } ], - "icon": "../packaging/assets/icon.ico" + "icon": "icon.ico" }, "linux": { "target": [ @@ -84,12 +84,13 @@ "to": "runtime" } ], - "icon": "../packaging/assets/icon.png" + "icon": "icon.png" }, "nsis": { "oneClick": false, "allowToChangeInstallationDirectory": true, "perMachine": false - } + }, + "buildResources": "../packaging/assets" } }