🐛 Fix: fix some bugs

This commit is contained in:
萌萌哒赫萝
2023-04-09 23:45:29 +08:00
parent 8c7c3b28dd
commit 7e0991d36d
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -158,6 +158,9 @@ class LifeCycle {
if (startMode !== 'no-tray' && process.platform === 'darwin') {
createTray()
}
if (process.platform === 'win32' || process.platform === 'linux') {
createTray()
}
db.set('needReload', false)
const isHideDock = db.get('settings.isHideDock') || false
if (isHideDock) {