fix: iconUrl for windows build (#3194)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-07-12 14:35:45 +00:00
1 parent 5b87d90ffe
commit e813436af7
1 file changed
+3
+3
View File
@@ -26,6 +26,8 @@ const arch =
? process.argv[process.argv.indexOf('--arch') + 1] ? process.argv[process.argv.indexOf('--arch') + 1]
: process.arch; : process.arch;
const windowsIconUrl = `https://cdn.affine.pro/app-icons/icon_${buildType}.ico`;
/** /**
* @type {import('@electron-forge/shared-types').ForgeConfig} * @type {import('@electron-forge/shared-types').ForgeConfig}
*/ */
@@ -95,6 +97,7 @@ module.exports = {
config: { config: {
name: 'AFFiNE', name: 'AFFiNE',
setupIcon: icoPath, setupIcon: icoPath,
iconUrl: windowsIconUrl,
loadingGif: './resources/icons/affine_installing.gif', loadingGif: './resources/icons/affine_installing.gif',
}, },
}, },