2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-11 07:41:04 +00:00

Quit app when all windows are closed

This commit is contained in:
Jia Hao 2015-07-06 11:46:08 +08:00
parent d7859160eb
commit 619e8c60b9

View File

@ -57,4 +57,8 @@ ipc.on('notification-message', function(event, arg) {
app.dock.setBadge('●'); app.dock.setBadge('●');
} }
} }
});
app.on('window-all-closed', function() {
app.quit();
}); });