Elektron Hapus Menu Default
//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
window.setMenu(null);
});
Spyrex
//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
window.setMenu(null);
});
appWindow = new BrowserWindow({
fullscreen: true,
autoHideMenuBar: true,
})
mainWindow.setMenuBarVisibility(false) //partially
import { Menu } from 'electron'
Menu.setApplicationMenu(null);
win.removeMenu(true)
win.removeMenu()