Mac apps cannot have hyphens in their name?
See original GitHub issueI have built a simple Electron app using Menubar and after packaging it (using electron-packager@5.1.0) when I run it on OSX, it gives error:
The application "NAME.app" can't be opened.
The app works fine when I build and run it locally using electron .
Also when I try running it from inside the .app file it works as well.
node: 5.11.0
npm: 3.8.6
menubar: 4.1.0
electron-packager: 5.1.0
electron: 1.0.1
plaform: osx 10.11.4
build command: ./node_modules/.bin/electron-packager ./ --platform darwin --arch all
How can I investigate the cause of this issue?
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Random hyphens which cannot be removed appear in Pages
macOS and Mac Apps. Hello,. As the title says, I'm experiencing an issue with hyphens in Pages: when writing words like Romania and...
Read more >Mac finder fails to find files named with… - Apple Community
Mac finder fails to find files named with hyphen (MacOS Catalina 10.15.7). I have been scanning years of photos in the following manner...
Read more >How to replace spaces with hyphens in filenames on a Mac
Open a finder window with the files you want to change. Select them, drag and drop them on the application icon on your...
Read more >Dictionary: Syllable-hyphenation interpuncts (dots) missing
Just try to select in the Preferences of Dictionary app (v.2.2.1 in OS X 10.8.5) unselected "New Oxford American Dictionary" option. Hyphenation ...
Read more >Search won't succeed if query is surrounded by hyphens in file ...
Apple changed way the metadata search engine interprets hyphens. @Andrew might be able to give you some details. I think you can work...
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
I think that both @mashhoodr and I had the same issue as #323. It says that a fix is having the executable in a different location fixes this issue, so renaming the executable (like I did) and also renaming the .app (like @mashhoodr did) would fix the issue. Therefore I don’t actually think this issue is any different to #323, and doesn’t have anything to do with hyphens in the name.
I can confirm that simply renaming the app also fixes the issue, and it does have the hyphen still. Thanks for the heads up @davidferguson