icon.icns(macOS app icon). Icon size should be at least 512x512.
background.png(macOS DMG background).
need to be placed in the build directory. All files are optional — but it is important to provide
icon.icns, otherwise default Electron icon will be used.
icon.ico(Windows app icon). Icon size should be at least 256x256.
need to be placed in the build directory. It is important to provide
icon.ico, otherwise default Electron icon will be used.
Linux icon set will be generated automatically based on the macOS
Or you can put them into the
build/icons directory if you want to specify them yourself. The filename must contain the size (e.g.
32x32.png) of the icon). Recommended sizes: 16, 24, 32, 48, 64, 96, 128, 256. (or just 512).
See AppX Assets.