From fab7dc9d3c729be34eb2b9475c3b54f6ce581d77 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 3 Apr 2020 18:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/utils/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/utils/index.js b/src/main/utils/index.js index cee08b53..1f932106 100644 --- a/src/main/utils/index.js +++ b/src/main/utils/index.js @@ -9,7 +9,10 @@ exports.getAppSetting = () => { let electronStore = new Store() const defaultSetting = { windowSizeId: 1, - isShowTray: false, + tray: { + isShow: false, + isToTray: false, + }, } return Object.assign(defaultSetting, electronStore.get('setting') || {}) }