Electron如何隐藏窗体的菜单栏(Menu)?
程序员文章站
2024-02-24 13:36:10
...
const electron = require('electron')
/*获取electron窗体的菜单栏*/
const Menu = electron.Menu
/*隐藏electron创听的菜单栏*/
Menu.setApplicationMenu(null)