diff --git a/src/main/index.js b/src/main/index.js index 0d26552..2ca3c79 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -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) diff --git a/src/main/utils/img2base64.js b/src/main/utils/img2base64.js index 077e3c4..3ffcfe7 100644 --- a/src/main/utils/img2base64.js +++ b/src/main/utils/img2base64.js @@ -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)