Consider, That Png Icons For Mac
/ Comments off
It’s time to add Electron app icons to the. For this we need a png-icon, a.icns for macs and a.ico for windows. For Linux we only need the pngs. This code is added to the. Have a look at that repository if you would like to see all the source code. The icons need to be set when creating a new BrowserWindow.
Help Icon Png
Consider That Png Icon For Macbook
But they need also be set when packaging the app. So by setting it in the code won’t make any difference when debugging your app with electron. That’s why we’ll first take a look at the code. Then we’ll take a look at packaging our app with electron-packager. But don’t worry, it’s an easy task. Creating our icns and ico-files First we need an icon that is 1024x1024 pixels large and saved in PNG. I’ve got one looking like this.