mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-03 17:23:41 +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 path = require('path');
|
||||||
const URL = require('url');
|
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).
|
* Opens new window with index.html(Jitsi Meet is loaded in iframe there).
|
||||||
*/
|
*/
|
||||||
function createJitsiMeetWindow() {
|
function createJitsiMeetWindow() {
|
||||||
|
Menu.setApplicationMenu(null);
|
||||||
|
|
||||||
jitsiMeetWindow = new BrowserWindow(jitsiMeetWindowOptions);
|
jitsiMeetWindow = new BrowserWindow(jitsiMeetWindowOptions);
|
||||||
jitsiMeetWindow.loadURL(indexURL);
|
jitsiMeetWindow.loadURL(indexURL);
|
||||||
initPopupsConfigurationMain(jitsiMeetWindow);
|
initPopupsConfigurationMain(jitsiMeetWindow);
|
||||||
|
|
Loading…
Reference in a new issue