Fixed: auto hide menu-bar in windows

This commit is contained in:
Molunerfinn 2018-05-09 09:30:05 +08:00
parent c1604fa3cb
commit f33df32312

View File

@ -22,6 +22,7 @@ const createRenameWindow = () => {
if (process.platform === 'win32') {
options.show = true
options.backgroundColor = '#3f3c37'
options.autoHideMenuBar = true
}
const window = new BrowserWindow(options)