🔨 Refactor: add platform check for dock hidden

This commit is contained in:
萌萌哒赫萝 2023-04-09 23:48:06 +08:00
parent 7e0991d36d
commit 7e9f730f66

View File

@ -163,7 +163,7 @@ class LifeCycle {
}
db.set('needReload', false)
const isHideDock = db.get('settings.isHideDock') || false
if (isHideDock) {
if (isHideDock && process.platform === 'darwin') {
app.dock.hide()
}
updateChecker()