electron js desktop application hide menubar close button code example Example: electron hide top bar mainWindow.setMenuBarVisibility(false) //partially