mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-17 20:27:36 +08:00
Fixed: not darwin platform setting window bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user