Skip to content

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.

fix: iconUrl for windows build (#3194)

Peng Xiaoe813436af708
diff --git a/apps/electron/forge.config.js b/apps/electron/forge.config.js
index 1a98dc1cbe..15160979d0 100644
--- a/apps/electron/forge.config.js
+++ b/apps/electron/forge.config.js
@@ -26,6 +26,8 @@ const arch =
? process.argv[process.argv.indexOf('--arch') + 1]
: process.arch;
+const windowsIconUrl = `https://cdn.affine.pro/app-icons/icon_${buildType}.ico`;
+
/**
* @type {import('@electron-forge/shared-types').ForgeConfig}
*/
@@ -95,6 +97,7 @@ module.exports = {
config: {
name: 'AFFiNE',
setupIcon: icoPath,
+ iconUrl: windowsIconUrl,
loadingGif: './resources/icons/affine_installing.gif',
},
},