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:
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user