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