Update main.js

Add complete quit procedure for windows and linux
main
Nazım Gediz Aydındoğmuş 2 years ago
parent 438fd47409
commit 31d9b38fa9

@ -15,3 +15,8 @@ const createWindow = () => {
app.whenReady().then(() => {
createWindow()
})
// Quit the app when all windows are closed (for windows and linux only)
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') app.quit()
})

Loading…
Cancel
Save