From f309d18aed0990c7abe4d7969d61e1a25489371e Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Thu, 13 Sep 2018 16:54:18 +0800 Subject: [PATCH] Changed: auto start from settingWindow to miniWindow --- src/main/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/index.js b/src/main/index.js index 7fe3c9c..720dea9 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -137,6 +137,9 @@ function createTray () { settingWindow.show() settingWindow.focus() } + if (miniWindow) { + miniWindow.hide() + } } }) @@ -210,7 +213,7 @@ const createMiniWidow = () => { let obj = { height: 64, width: 64, - show: false, + show: true, frame: false, fullscreenable: false, resizable: false, @@ -256,7 +259,7 @@ const createSettingWindow = () => { } } if (process.platform !== 'darwin') { - options.show = true + options.show = false options.frame = false options.backgroundColor = '#3f3c37' options.transparent = false