When using electron develop desktop side, packaged into exe file, you need to change the default icon:
specific methods:
Create new directory in the root directory of the storage icon icon:
It requires two icon: icon.icns, icon.ico
Note :
1, the two icons size can not be 256 * 256
2, can not directly use png images, the suffix to .ico otherwise it will error (can generate icon to upload and download sites online)
Change the configuration file: root directory under package.json
Repackaging, found images generated exe file has changed.