Commit 1ca4e7a0 authored by dev0tion's avatar dev0tion

Quit on close button OS X

parent b1d27a7b
...@@ -91,9 +91,10 @@ app.on('will-quit', function () { ...@@ -91,9 +91,10 @@ app.on('will-quit', function () {
app.on('window-all-closed', function () { app.on('window-all-closed', function () {
// On OS X it is common for applications and their menu bar // On OS X it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q // to stay active until the user quits explicitly with Cmd + Q
if (process.platform !== 'darwin') { // if (process.platform !== 'darwin') {
app.quit(); // app.quit();
} // }
app.quit();
}); });
app.on('activate', function () { app.on('activate', function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment