-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--icon option does not work under Electron 0.37.4 (darwin) #300
Labels
Comments
This was referenced Apr 4, 2016
Please update npm package as well. Thanks! |
I want #298 to be merged before a new release (because it suffers from the same problem). |
This is a critical bug. Please release a new npm package ASAP. Thanks! |
Two workarounds exist, until 6.0.1 is released:
|
This was referenced Apr 7, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
In Electron 0.37.4, the CFBundleIconFile entry in Electron.app/Contents/Info.plist has been renamed from atom.icns to electron.icns. The associated file in Electron.app/Contents/Resources has also been renamed.
The code in mac.js still copies the --icon argument file to atom.icns, so the file winds up in the wrong place.
(This is electron-packager 6.0.0, but previous versions behaved the same.)
I assume we want to continue supporting old versions of Electron as well as 0.37.4. The fix should therefore involve peeking at the CFBundleIconFile key to copy the file to the right place, or altering the CFBundleIconFile key to match the given --icon filename.
The text was updated successfully, but these errors were encountered: