I am trying to publish my electron app to Windows store but it is showing default electron icon whereas the exe created has correct icon. Even on launching the Appx file, correct icon is showing up. How can I change the default icon of electron and put the correct icon on store?
Package JSON:
"build": {
"appId": "xxxx.xxxx.xxxx",
"directories": {
"buildResources": "build"
},
"win": {
"icon": "assets/icons/win/icon.ico",
"target": [
"Appx",
"nsis"
]
},
"nsis": {
"artifactName": "${productName}_Setup_${version}.${ext}",
"installerIcon": "assets/icons/win/icon.ico"
}