remove menu bar
This commit is contained in:
parent
addfa7bec9
commit
2c30301744
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ app.on('ready', async () => {
|
|||
},
|
||||
});
|
||||
|
||||
mainWindow.setMenu(null);
|
||||
|
||||
mainWindow.loadFile(path.resolve(path.join(__dirname, '../renderer/index.html')));
|
||||
|
||||
// show window once on first load
|
||||
|
|
Reference in a new issue