mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-08 21:38:13 -05:00
Changed: auto start from settingWindow to miniWindow
This commit is contained in:
parent
6fca0e73c0
commit
f309d18aed
@ -137,6 +137,9 @@ function createTray () {
|
|||||||
settingWindow.show()
|
settingWindow.show()
|
||||||
settingWindow.focus()
|
settingWindow.focus()
|
||||||
}
|
}
|
||||||
|
if (miniWindow) {
|
||||||
|
miniWindow.hide()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -210,7 +213,7 @@ const createMiniWidow = () => {
|
|||||||
let obj = {
|
let obj = {
|
||||||
height: 64,
|
height: 64,
|
||||||
width: 64,
|
width: 64,
|
||||||
show: false,
|
show: true,
|
||||||
frame: false,
|
frame: false,
|
||||||
fullscreenable: false,
|
fullscreenable: false,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
@ -256,7 +259,7 @@ const createSettingWindow = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (process.platform !== 'darwin') {
|
if (process.platform !== 'darwin') {
|
||||||
options.show = true
|
options.show = false
|
||||||
options.frame = false
|
options.frame = false
|
||||||
options.backgroundColor = '#3f3c37'
|
options.backgroundColor = '#3f3c37'
|
||||||
options.transparent = false
|
options.transparent = false
|
||||||
|
Loading…
Reference in New Issue
Block a user