mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -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)
|
||||
const isHideDock = db.get('settings.isHideDock') || false
|
||||
if (isHideDock) {
|
||||
if (isHideDock && process.platform === 'darwin') {
|
||||
app.dock.hide()
|
||||
}
|
||||
updateChecker()
|
||||
|
Loading…
Reference in New Issue
Block a user