electron remove default menu code example
Example 1: electron remove default menu
//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
window.setMenu(null);
});
Example 2: how to remove menu bar in electron app without removing frame
mainWindow.removeMenu: true;
Example 3: remove menu bar electron
win.removeMenu(true)