mirror of
https://github.com/heyman/heynote.git
synced 2025-06-24 03:21:29 +02: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',
|
title: 'Main window',
|
||||||
icon: join(process.env.PUBLIC, 'favicon.ico'),
|
icon: join(process.env.PUBLIC, 'favicon.ico'),
|
||||||
//titleBarStyle: 'customButtonsOnHover',
|
//titleBarStyle: 'customButtonsOnHover',
|
||||||
|
autoHideMenuBar: true,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload,
|
preload,
|
||||||
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
|
// Warning: Enable nodeIntegration and disable contextIsolation is not secure in production
|
||||||
|
Loading…
x
Reference in New Issue
Block a user