Package electron

  1. npm run build:release
  2. npm run electron:build
  1. use https://appicon.co/ create all icons
  2. change name into those format
    ├── icon_128x128.png
    ├── icon_128x128@2x.png
    ├── icon_16x16.png
    ├── icon_16x16@2x.png\ .png
    ├── icon_256x256.png
    ├── icon_256x256@2x.png
    ├── icon_32x32.png
    ├── icon_32x32@2x.png
    ├── icon_512x512.png
    └── icon_512x512@2x.png

Other resource:

https://icoconvert.com/

https://medium.com/how-to-electron/a-complete-guide-to-packaging-your-electron-app-1bdc717d739f https://codertw.com/ios/22514/