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