1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Quit app when all window closed

This commit is contained in:
Junyoung Choi
2018-03-22 20:59:19 +09:00
parent 8c792ce7a1
commit a24a7e03be
2 changed files with 5 additions and 4 deletions

View File

@@ -69,6 +69,10 @@ ipc.on('update-app-confirm', function (event, msg) {
}
})
app.on('window-all-closed', function () {
app.quit()
})
app.on('ready', function () {
mainWindow = require('./main-window')