electron 隐藏Menu

app.on('ready', () => {
    //const { dialog } = require('electron')
    //console.log(dialog.showOpenDialog({ properties: ['openFile', 'openDirectory', 'multiSelections'] }))
    const {Menu} = require('electron')
    Menu.setApplicationMenu(null)


})

你可能感兴趣的:(electron 隐藏Menu)