mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(electron): add icon for AppImage build (#6257)
1. the icon is fixed in `/Applications`: 128b8c22f9 (diff-a694a3e854f53b066e34ec310e05bd18b4944c016455f6963f54a351784d5fa6L91)
2. the App's icon MUST be 64x64 png and set via `setIcon`

This commit is contained in:
@@ -20,6 +20,11 @@ const icoPath = path.join(
|
||||
: './resources/icons/icon.ico'
|
||||
);
|
||||
|
||||
const iconX64PngPath = path.join(
|
||||
ROOT,
|
||||
`./resources/icons/icon_${buildType}_64x64.png`
|
||||
);
|
||||
|
||||
const icnsPath = path.join(
|
||||
ROOT,
|
||||
!stableBuild
|
||||
@@ -46,6 +51,7 @@ export {
|
||||
icnsPath,
|
||||
iconPngPath,
|
||||
iconUrl,
|
||||
iconX64PngPath,
|
||||
icoPath,
|
||||
platform,
|
||||
productName,
|
||||
|
||||
Reference in New Issue
Block a user