Don't show the menu bar

This commit is contained in:
Saúl Ibarra Corretgé 2018-06-16 08:36:52 +02:00 committed by Hristo Terezov
parent f3b7b71c94
commit da1b6addb5
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ const {
const path = require('path');
const URL = require('url');
const { app: APP, BrowserWindow } = electron;
const { app: APP, BrowserWindow, Menu } = electron;
/**
@ -81,6 +81,8 @@ function setAPPListeners() {
* Opens new window with index.html(Jitsi Meet is loaded in iframe there).
*/
function createJitsiMeetWindow() {
Menu.setApplicationMenu(null);
jitsiMeetWindow = new BrowserWindow(jitsiMeetWindowOptions);
jitsiMeetWindow.loadURL(indexURL);
initPopupsConfigurationMain(jitsiMeetWindow);