electron 7 hide menu bar code example Example: electron hide top bar mainWindow.setMenuBarVisibility(false) //partially