mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 09:43:42 +02:00
Don't show the menu bar
This commit is contained in:
parent
f3b7b71c94
commit
da1b6addb5
4
main.js
4
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);
|
||||
|
|
Loading…
Reference in a new issue