Skip to content

Commit 73e7ada

Browse files
author
Christopher Liu
committed
Remove Electron menubar
1 parent 362ae27 commit 73e7ada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function createWindow () {
2020
mainWindow.isElectron = true;
2121
// and load the index.html of the app.
2222
mainWindow.loadFile('musicblocks/index.html');
23+
mainWindow.removeMenu();
2324
mainWindow.on('close', function(e){
2425
var choice = require('electron').dialog.showMessageBoxSync(this,
2526
{

0 commit comments

Comments
 (0)