Skip to content

Commit f92d684

Browse files
authored
fix(desktop): use prebuilt icns for app and DMG icon (#99)
1 parent be4c082 commit f92d684

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/desktop/electron-builder.config.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@ export default {
4141
{ target: "zip", arch: "arm64" },
4242
],
4343
category: "public.app-category.developer-tools",
44-
icon: "resources/icon.png",
44+
// A prebuilt icns: electron-builder's own PNG conversion garbles the small sizes, which the
45+
// DMG title bar shows.
46+
icon: "resources/icon.icns",
4547
// Ad-hoc: Apple silicon runs nothing unsigned. A downloaded build still needs its quarantine
4648
// flag removed until builds are signed and notarized.
4749
identity: "-",
4850
hardenedRuntime: false,
4951
},
52+
dmg: { icon: "resources/icon.icns" },
5053
linux: {
5154
// Each format names x64 and arm64 its own way (x86_64, amd64, aarch64); one name for all,
5255
// from the arch scripts/package.mjs builds for.

‎apps/desktop/resources/icon.icns‎

1.26 MB
Binary file not shown.

0 commit comments

Comments
 (0)