mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
fix: iconUrl for windows build (#3194)
This commit is contained in:
@@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user