Merge pull request #2975 from vector-im/dbkr/auto_hide_menu_bar

Auto-hide the electron menu bar
This commit is contained in:
Richard van der Hoff 2017-01-19 11:44:36 +00:00 committed by GitHub
commit 5978aff632
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ electron.app.on('ready', () => {
icon: icon_path,
width: 1024, height: 768,
show: false,
autoHideMenuBar: true,
});
mainWindow.loadURL(`file://${__dirname}/../../webapp/index.html`);
electron.Menu.setApplicationMenu(VectorMenu);