Quit app when all windows are closed
This commit is contained in:
parent
d7859160eb
commit
619e8c60b9
|
@ -57,4 +57,8 @@ ipc.on('notification-message', function(event, arg) {
|
|||
app.dock.setBadge('●');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
app.on('window-all-closed', function() {
|
||||
app.quit();
|
||||
});
|
Loading…
Reference in New Issue