Skip to content
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

cmd-w doesn't close windows on mac after packaging app #5536

Closed
ghost opened this issue May 14, 2016 · 1 comment
Closed

cmd-w doesn't close windows on mac after packaging app #5536

ghost opened this issue May 14, 2016 · 1 comment

Comments

@ghost
Copy link

@ghost ghost commented May 14, 2016

  • Electron version: 1.0.1
  • Operating system: OS X 10.11.2

After using electron-packager@7.0.1 cmd-w doesn't close windows on mac, you have to click the red circle to close the window. However, it works when you execute the app with electron .

@zcbenz
Copy link
Member

@zcbenz zcbenz commented May 15, 2016

The Cmd-W only works when you have application menu in your app. When you run your app via the default app, a default application menu will be assigned, but it be gone after you packaged your app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant