electron hide navbar code example
Example 1: electron hide top bar
mainWindow.setMenuBarVisibility(false) //partially
Example 2: how to remove menu bar in electron app without removing frame
mainWindow.removeMenu: true;
mainWindow.setMenuBarVisibility(false) //partially
mainWindow.removeMenu: true;