mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-09-05 15:37:21 +08:00
Fixed: auto hide menu-bar in windows
This commit is contained in:
@@ -22,6 +22,7 @@ const createRenameWindow = () => {
|
|||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
options.show = true
|
options.show = true
|
||||||
options.backgroundColor = '#3f3c37'
|
options.backgroundColor = '#3f3c37'
|
||||||
|
options.autoHideMenuBar = true
|
||||||
}
|
}
|
||||||
|
|
||||||
const window = new BrowserWindow(options)
|
const window = new BrowserWindow(options)
|
||||||
|
|||||||
Reference in New Issue
Block a user