electron hide menubar code example
Example 1: electron hide top bar
mainWindow.setMenuBarVisibility(false) //partially
Example 2: electron disable menu
my_window.setMenu(false);
mainWindow.setMenuBarVisibility(false) //partially
my_window.setMenu(false);