Install the icon generator globally
npm i -g electron-icon-maker
Run following command from anywhere you have your input file to generate platforms icons
electron-icon-maker --input=icon.png --output=./out
Rename and move files to match with next config
- ./workspaces/electron-app/main/assets/icons/icon.png for Linux
- ./workspaces/electron-app/main/assets/icons/icon.icns for MacOs
- ./workspaces/electron-app/main/assets/icons/icon.ico for Windows x