修复桌面歌词在关闭软件时被重置回关闭状态的问题

This commit is contained in:
lyswhut
2022-12-05 13:05:17 +08:00
parent 5c7652afe8
commit 92c77332a0
9 changed files with 29 additions and 32 deletions
+3 -2
View File
@@ -204,7 +204,8 @@ export const initAppSetting = async() => {
const config = await initHotKey()
global.lx = {
isTrafficLightClose: false,
isQuitting: false,
isSkipTrayQuit: false,
// mainWindowClosed: true,
event_app: createAppEvent(),
event_list: createListEvent(),
appSetting: defaultSetting,
@@ -241,6 +242,6 @@ export const initAppSetting = async() => {
}
export const quitApp = () => {
global.lx.isQuitting = true
global.lx.isSkipTrayQuit = true
closeWindow()
}