mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(electron): app image icon (#4442)
This commit is contained in:
@@ -18,6 +18,7 @@ const icoPath = path.join(
|
||||
? `./resources/icons/icon_${buildType}.ico`
|
||||
: './resources/icons/icon.ico'
|
||||
);
|
||||
|
||||
const icnsPath = path.join(
|
||||
ROOT,
|
||||
!stableBuild
|
||||
@@ -25,6 +26,8 @@ const icnsPath = path.join(
|
||||
: './resources/icons/icon.icns'
|
||||
);
|
||||
|
||||
const iconPngPath = path.join(ROOT, './resources/icons/icon.png');
|
||||
|
||||
const iconUrl = `https://cdn.affine.pro/app-icons/icon_${buildType}.ico`;
|
||||
const arch =
|
||||
process.argv.indexOf('--arch') > 0
|
||||
@@ -42,6 +45,7 @@ module.exports = {
|
||||
productName,
|
||||
icoPath,
|
||||
icnsPath,
|
||||
iconPngPath,
|
||||
iconUrl,
|
||||
arch,
|
||||
platform,
|
||||
|
||||
Reference in New Issue
Block a user