From 00f1c6264627cbe242cd088ab4b39aa33b1f7462 Mon Sep 17 00:00:00 2001 From: Dick Choi Date: Mon, 17 Oct 2016 07:01:52 +0900 Subject: [PATCH 1/2] fix typo --- oh-my-cdn.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oh-my-cdn.json b/oh-my-cdn.json index ddf602c5..128a503f 100644 --- a/oh-my-cdn.json +++ b/oh-my-cdn.json @@ -4,7 +4,7 @@ "react": "https://cdnjs.cloudflare.com/ajax/libs/react/15.0.2/react.js", "react-dom": "https://cdnjs.cloudflare.com/ajax/libs/react/15.0.2/react-dom.js", "redux": "https://cdnjs.cloudflare.com/ajax/libs/redux/3.5.2/redux.js", - "react-redux": "https://unpkg.com/react-redux@4.4.5/dist/react-redux.min.js" + "react-redux": "https://unpkg.com/react-redux@4.4.5/dist/react-redux.min.js", "katex": "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.js", "katex-style": "https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.6.0/katex.min.css" } From f9598dd619f6e832f3d97b2f824b71d212027d1f Mon Sep 17 00:00:00 2001 From: Dick Choi Date: Mon, 17 Oct 2016 07:10:00 +0900 Subject: [PATCH 2/2] v0.7.0 --- lib/main-window.js | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/main-window.js b/lib/main-window.js index a4333418..01a92ef5 100644 --- a/lib/main-window.js +++ b/lib/main-window.js @@ -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() }) diff --git a/package.json b/package.json index 94e1efb0..e2d47b19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "boost", - "version": "0.6.8", + "version": "0.7.0", "description": "Boostnote", "main": "index.js", "license": "GPL-3.0",