2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-09-22 01:29:02 +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.on('window-all-closed', function() {
app.quit();
});