Merge branch 'dev' of github.com:LasyIsLazy/lx-music-desktop into dev

This commit is contained in:
lyswhut 2020-04-03 19:55:21 +08:00
commit 87c0612d46

View File

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