admin管理员组文章数量:1295873
I am creating a react / electron desktop app for mac/windows/linux. When I run my electron-builder command npm run build
it creates the dist/
folder containing my windows builds. It creates windows builds for "7z","appx","portable"
, the portable build is just an .exe, where when I launch the .exe I can see my custom icon appear in the taskbar perfectly fine:
But when I upload my appx file to the windows store, submit and release it, appears in my taskbar with the default electron icon
Is there an additional step I need to do in order for electron-builder to set the appx icon correctly? my package.json is here: .json And the logs of my build are here:
here is my package.json code that sets the icon:
"appx": {
"applicationId": "RenderTune",
"identityName": "1845martinbarker.digify",
"publisher": "CN=E69B865D-5831-4BE5-9AA4-08E27DAAD66C",
"publisherDisplayName": "martinbarker",
"backgroundColor": "#a0beeb"
},
"win": {
"target": [
"7z",
"appx",
"portable"
],
"extraResources": [
{
"from": "ffmpeg/win32-${arch}/lib",
"to": "resources"
}
],
"signAndEditExecutable": true,
"icon": "icon-build/app.ico"
},
本文标签: electroncustom icon not appearing in windows appx buildStack Overflow
版权声明:本文标题:electron - custom icon not appearing in windows appx build - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741627667a2389176.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论