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') || {}) }