default Electron icon is used reason=application icon is not set
See original GitHub issue- ElectronNET.API 5.22.13, netcoreapp2.2, electron-builder version=20.44.4, node 10.10.0:
- Target: windows
I use the win/icon option to add my own app icon:
"win": {
"icon": "Assets/icon.ico"
},
electron-builder keeps logging:
default Electron icon is used reason=application icon is not set
I also tried ElectronNET.WebApp which gives the same message.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Set Electron favicon with electron-builder
Application icon is not set, default Electron icon will be used . Anyone can help me ? Part of my package.json : "scripts":...
Read more >Electron .net. How to set console app icon in linux.
Message displayed in VS Code terminal : default Electron icon is used reason=application icon is not set. While there is no icon. Only...
Read more >Changing electron app icon. Generate icns | by Khoa Pham
I get a problem that electron always shows default app icon. I tried using png , NativeImage , different icon sizes but still...
Read more >Electron appx default electron icon used in start menu
I am trying to submit my electron app to the windows store but whenever I do It gets rejected for this reason:
Read more >Icons
All files are optional — but it is important to provide icon.icns (or icon.png ), as otherwise the default Electron icon will be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Its probably not a bug. It took me aaages to get it to work. If you don’t get the path to your icon correct from the “current working folder” it defaults to the electron icon and you get that message. Take a look at this repo and the electron.manifest.json there. Determine the path to icon.png and compare to your own settings.
For anyone else hitting this I found that I had to prefix the directory with
bin
to get it to work: