feat: add native macOS dynamic app icon (#1402)

* feat: add native macOS dynamic app icon

Adds Icon Composer source and compiled Assets.car for macOS
Packages the dynamic icon asset into the Electron app
Adds a script to regenerate macOS icon assets

* fix: harden macOS icon asset scripts
This commit is contained in:
Bohdan Triapitsyn
2026-05-24 21:23:46 +03:00
committed by GitHub
parent 0c8301d579
commit 3f3b835ee9
7 changed files with 182 additions and 0 deletions
+5
View File
@@ -27,6 +27,7 @@
"build:web-assets": "node ./scripts/build-web-assets.mjs",
"build": "bun -e \"process.exit(0)\"",
"bundle:main": "bun ./scripts/bundle-main.mjs",
"generate:macos-icon": "node ./scripts/generate-macos-icon-assets.cjs",
"rebuild:native": "node ./scripts/rebuild-native.mjs",
"package": "bun run build:web-assets && bun run bundle:main && bun run rebuild:native && electron-builder",
"finalize:latest-yml": "node ./scripts/finalize-latest-yml.mjs",
@@ -46,6 +47,7 @@
"to": "web-dist"
}
],
"afterPack": "scripts/after-pack.cjs",
"directories": {
"buildResources": "resources/icons",
"output": "dist"
@@ -55,6 +57,9 @@
"mac": {
"category": "public.app-category.developer-tools",
"icon": "resources/icons/icon.icns",
"extendInfo": {
"CFBundleIconName": "AppIcon"
},
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "resources/entitlements.mac.plist",