mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 22:58:14 -05:00
🔨 Refactor: add platform check for dock hidden
This commit is contained in:
parent
7e0991d36d
commit
7e9f730f66
@ -163,7 +163,7 @@ class LifeCycle {
|
|||||||
}
|
}
|
||||||
db.set('needReload', false)
|
db.set('needReload', false)
|
||||||
const isHideDock = db.get('settings.isHideDock') || false
|
const isHideDock = db.get('settings.isHideDock') || false
|
||||||
if (isHideDock) {
|
if (isHideDock && process.platform === 'darwin') {
|
||||||
app.dock.hide()
|
app.dock.hide()
|
||||||
}
|
}
|
||||||
updateChecker()
|
updateChecker()
|
||||||
|
Loading…
Reference in New Issue
Block a user