mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 22:52:32 +03:00
fix: iconUrl for windows build (#3194)
This commit is contained in:
parent
5b87d90ffe
commit
e813436af7
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user