electron hide menu options code example
Example 1: electron hide top bar
mainWindow.setMenuBarVisibility(false) //partially
Example 2: electron no menu bar
win.removeMenu()
mainWindow.setMenuBarVisibility(false) //partially
win.removeMenu()