packager
packager copied to clipboard
Set Icon for Helper app
- [x] I have read the contribution documentation for this project.
- [x] I agree to follow the code of conduct that this project follows, as appropriate.
- [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.
Please describe your issue:
On MacOS, If you trigger a User Notification from a renderer process (e.g. via a Native Addon), the notification is given a placeholder icon, because the owning .app (the Helper) lacks an icon.

If you specify an Icon, that Icon should also be used for the Helper Apps, or there should be an option to specify the Helper app icon separately.
👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
It would be great if someone had a proposal that included what the API option would look like and what the CLI option would look like.
I do not If it well help But I found That If <App Name Ex: myapp> in CMD is same as in Package.json "name": "myapp" it will set as electron icon even with UPPERCASE change Ex: MYAPP
And after many tries I found that when I change
App Name Ex: MyFirstApp
The myapp Icon is set in EXE file.
electron-packager <sourcedir> <MyFirstApp> --platform=<platform> --arch=<arch> [optional flags...]