mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-17 11:41:44 +00:00
Not quit app using close button on Mac
This commit is contained in:
@@ -51,7 +51,7 @@ if (process.platform !== 'linux' || process.env.DESKTOP_SESSION === 'cinnamon')
|
|||||||
})
|
})
|
||||||
mainWindow.setFullScreen(false)
|
mainWindow.setFullScreen(false)
|
||||||
} else {
|
} else {
|
||||||
quitApp()
|
mainWindow.hide()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user