mirror of
https://github.com/heyman/heynote.git
synced 2025-02-16 10:19:55 +01:00
Set autoHideMenuBar:true to hide the menu bar on windows
This commit is contained in:
parent
b5903c40cc
commit
f837d547d4
@ -49,6 +49,7 @@ async function createWindow() {
|
||||
title: 'Main window',
|
||||
icon: join(process.env.PUBLIC, 'favicon.ico'),
|
||||
//titleBarStyle: 'customButtonsOnHover',
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
preload,
|
||||
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
|
||||
|
Loading…
Reference in New Issue
Block a user