mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -05:00
parent
4e02244ebe
commit
466dbec4b7
@ -225,26 +225,18 @@ const createMiniWidow = () => {
|
||||
let obj = {
|
||||
height: 64,
|
||||
width: 64,
|
||||
show: false,
|
||||
show: process.platform === 'linux',
|
||||
frame: false,
|
||||
fullscreenable: false,
|
||||
skipTaskbar: true,
|
||||
resizable: false,
|
||||
transparent: true,
|
||||
transparent: process.platform !== 'linux',
|
||||
icon: `${__static}/logo.png`,
|
||||
webPreferences: {
|
||||
backgroundThrottling: false
|
||||
}
|
||||
}
|
||||
|
||||
if (process.platform === 'linux') {
|
||||
obj.transparent = false
|
||||
}
|
||||
|
||||
if (process.platform === 'darwin') {
|
||||
obj.show = false
|
||||
}
|
||||
|
||||
if (db.read().get('settings.miniWindowOntop').value()) {
|
||||
obj.alwaysOnTop = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user