1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

Not quit app using close button on Mac

This commit is contained in:
Kazu Yokomizo
2017-11-05 12:34:19 +09:00
parent 7c9fecd943
commit f8eaa9e796

View File

@@ -51,7 +51,7 @@ if (process.platform !== 'linux' || process.env.DESKTOP_SESSION === 'cinnamon')
}) })
mainWindow.setFullScreen(false) mainWindow.setFullScreen(false)
} else { } else {
quitApp() mainWindow.hide()
} }
} }
}) })