appWindow = new BrowserWindow({
fullscreen: true,
autoHideMenuBar: true,
})
mainWindow.setMenuBarVisibility(false) //partially
win.removeMenu(true)
import { Menu } from 'electron'
Menu.setApplicationMenu(null);
win.removeMenu()
function createWindow () {
mainWindow.setMenuBarVisibility(false)
}