const { Menu} = require('electron')

...
// 隐藏菜单
Menu.setApplicationMenu(null)
来源:中战博客,欢迎分享!
标签: electron,menu,setApplicationMenu