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