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

Merged branch master into master

This commit is contained in:
Dick Choi
2016-10-17 08:12:03 +09:00
3 changed files with 7 additions and 3 deletions

View File

@@ -34,7 +34,11 @@ mainWindow.webContents.sendInputEvent({
if (process.platform !== 'linux' || process.env.DESKTOP_SESSION === 'cinnamon') {
mainWindow.on('close', function (e) {
mainWindow.hide()
if (process.platform === 'win32') {
mainWindow.minimize()
} else {
mainWindow.hide()
}
e.preventDefault()
})