electron disable menu item code example
Example: electron remove default menu
//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
window.setMenu(null);
});
//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
window.setMenu(null);
});