Electron-builder: Can't specify an AppX icon

Created on 13 Aug 2017  Â·  4Comments  Â·  Source: electron-userland/electron-builder


  • Version: 19.19.1

  • Target: appx


The AppX target doesn't seem to be able to find the icon at build/icon.ico, or by a win.icon setting.

Is there a special way to set an AppX icon? See an example AppX build, where the icon is still the default Electron logo:

no icon

readme improvement

Most helpful comment

@jviotti Sorry, link fixed, docs added — https://github.com/electron-userland/electron-builder/wiki/Icons#appx

All 4 comments

So looks like I can provide the following files in build/appx:

Square150x150Logo.png
Square44x44Logo.png
StoreLogo.png
Wide310x150Logo.png

I haven't seen this documented anywhere (I had to look at the code), so I might send a documentation PR soon.

Maybe I'm missing something, but how is that thread related to AppX packages?

@jviotti Sorry, link fixed, docs added — https://github.com/electron-userland/electron-builder/wiki/Icons#appx

Was this page helpful?
0 / 5 - 0 ratings