mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
store window size on Linux
This commit is contained in:
@@ -61,8 +61,12 @@ if (process.platform !== 'linux' || process.env.DESKTOP_SESSION === 'cinnamon')
|
||||
mainWindow.removeAllListeners()
|
||||
})
|
||||
} else {
|
||||
mainWindow.on('close', function () {
|
||||
storeWindowSize()
|
||||
})
|
||||
|
||||
app.on('window-all-closed', function () {
|
||||
quitApp()
|
||||
app.quit()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user