1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
This commit is contained in:
Dick Choi
2016-10-17 07:10:00 +09:00
parent 00f1c62646
commit f9598dd619
2 changed files with 6 additions and 2 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()
})

View File

@@ -1,6 +1,6 @@
{
"name": "boost",
"version": "0.6.8",
"version": "0.7.0",
"description": "Boostnote",
"main": "index.js",
"license": "GPL-3.0",