From 7da2202119f10eeed9c34268707a4ce4b7736ba3 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 23 Nov 2025 18:50:46 +0100 Subject: [PATCH] ci: add icon paths to electron packager configs Add explicit icon settings to packaged app configuration for macOS, Linux and Windows. Set macOS icon to apps/web/src/assets/icons/favicon.ic, Linux icon directory to apps/web/src/assets/icons and Windows icon to apps/web/src/assets/icons/favicon.ico. This ensures bundled installers and app bundles include the intended application icon across platforms and prevents missing icon assets when creating artifacts. Also add trailing commas to keep JSON formatting consistent. --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 6e3e86826..f80c824d2 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "gatekeeperAssess": false, "hardenedRuntime": false, "entitlements": null, - "entitlementsInherit": null + "entitlementsInherit": null, + "icon": "apps/web/src/assets/icons/favicon.icns" }, "linux": { "category": "Video", @@ -46,7 +47,8 @@ "deb", "rpm" ], - "artifactName": "${name}-${version}-${os}-${arch}.${ext}" + "artifactName": "${name}-${version}-${os}-${arch}.${ext}", + "icon": "apps/web/src/assets/icons" }, "win": { "compression": "maximum", @@ -59,7 +61,8 @@ ] } ], - "artifactName": "${name}-${version}-windows-${arch}-setup.${ext}" + "artifactName": "${name}-${version}-windows-${arch}-setup.${ext}", + "icon": "apps/web/src/assets/icons/icon.png" }, "nsis": { "artifactName": "${name}-${version}-windows-${arch}-setup.${ext}"