question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mac apps cannot have hyphens in their name?

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davidfergusoncommented, May 15, 2016

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.

0reactions
mashhoodrcommented, May 15, 2016

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found