Electron-packager windows icon not being updated
See original GitHub issueIm setting up my icon to my electron-packager cli, but its not working. I think theres some type of cache being saved somewhere. The icon is definitely working though. Whe I goto properties the icon is correct, but the main icon on the exe is showing the original electron app icon.
How can I change it heres the code im using for icon:
--icon=src/assets/icons/win/icon.ico
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
Electron-packager not setting icons - Stack Overflow
I am building on OSX for OSX & Windows. I've tried at least 20 variations on specifying the icon for electron-packager (the full...
Read more >Changing electron app icon. Generate icns | by Khoa Pham
If app icon is not updated. I get a problem that electron always shows default app icon. I tried using png , NativeImage...
Read more >electron-packager - npm
Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI. Latest version: 17.1.1, last published: 2 ...
Read more >npx electron-packager "Could not find icon" : r/electronjs - Reddit
npx electron-packager "Could not find icon". I'm trying to use electron-packager to build my app for MAC and Windows using the command:.
Read more >Custom App Icons - Electron Forge
Configuring the path to your icon must be done in both package.json as well as in Electron's main process.
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 Free
Top 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
@malept It’s not clear
Also clear C:\Users.…\AppData\Local\IconCache.db
And drag compiled exe to desktop to see if default electron icon changes to that of yours
Just so I’m clear, when I say “caching issue”, I mean some sort of built-in Windows icon cache.
My inclination is that this problem does not originate with Electron Packager. This is because Electron Packager passes all of the win32 target icon information verbatim to the
node-rcedit
module. If it doesn’t have to do with the Windows icon cache, then it’s a bug either there or inrcedit
.