Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I can change the Electron app icon without electron-packager?

I want to change default electron icon without electron-packager?

Many sites describe the way that using electron-packager. But I don't want to use electron-packager to learn feature of electron.

How I can do it?

My platform is darwin. (OS X 10.10.5)

like image 245
KiYugadgeter Avatar asked Dec 10 '25 09:12

KiYugadgeter


1 Answers

You didn't specify a platform, but for OS X (darwin) you just need to replace the name_here.icns file at the path <approot>/Contents/Resources/name_here.icns with your own .icns file and when you reload the app it will have a then new icon.

That being said, Electron packager is cool because it be platform agnostic and it can automate this.

like image 143
Sam Eaton Avatar answered Dec 11 '25 23:12

Sam Eaton



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!