There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(electron): app image icon (#4442)
Peng Xiaofea6b81a53ea
diff --git a/apps/electron/forge.config.js b/apps/electron/forge.config.jsindex e6dd00d3a7..a6aed6f90c 100644--- a/apps/electron/forge.config.js+++ b/apps/electron/forge.config.js@@ -12,6 +12,7 @@ const {buildType,icnsPath,icoPath,+ iconPngPath,platform,productName,iconUrl,@@ -77,8 +78,7 @@ const makers = [name: '@reforged/maker-appimage',config: {name: 'AFFiNE',- iconUrl: icoPath,- setupIcon: icoPath,+ icon: iconPngPath,platforms: ['linux'],options: {bin: productName,diff --git a/apps/electron/scripts/make-env.js b/apps/electron/scripts/make-env.jsindex c5e834f1e7..f14f74c7b4 100644--- a/apps/electron/scripts/make-env.js+++ b/apps/electron/scripts/make-env.js@@ -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,