From da1b6addb5eb5a0905ca082a4d01a1cc5be4e964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Sat, 16 Jun 2018 08:36:52 +0200 Subject: [PATCH] Don't show the menu bar --- main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index c28235f..ac81890 100644 --- a/main.js +++ b/main.js @@ -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);