mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-22 22:28:14 -05:00
Fixed: not darwin platform setting window bug
This commit is contained in:
parent
415bdd31f3
commit
372f71bcd9
@ -203,10 +203,11 @@ const createSettingWindow = () => {
|
||||
backgroundThrottling: false
|
||||
}
|
||||
}
|
||||
if (process.platform === 'win32') {
|
||||
if (process.platform !== 'darwin') {
|
||||
options.show = true
|
||||
options.frame = false
|
||||
options.backgroundColor = '#3f3c37'
|
||||
options.transparent = false
|
||||
}
|
||||
settingWindow = new BrowserWindow(options)
|
||||
|
||||
|
@ -19,10 +19,11 @@ const createRenameWindow = () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
if (process.platform !== 'darwin') {
|
||||
options.show = true
|
||||
options.backgroundColor = '#3f3c37'
|
||||
options.autoHideMenuBar = true
|
||||
options.transparent = false
|
||||
}
|
||||
|
||||
const window = new BrowserWindow(options)
|
||||
|
Loading…
Reference in New Issue
Block a user