use appName from config

fix-builder
Andrei Gavrilescu 3 years ago committed by Saúl Ibarra Corretgé
parent 3c448837e7
commit 866f94a79b
  1. 3
      main.js

@ -18,6 +18,7 @@ const {
} = require('jitsi-meet-electron-utils');
const path = require('path');
const URL = require('url');
const config = require('./app/features/config');
// We need this because of https://github.com/electron/electron/issues/18214
app.commandLine.appendSwitch('disable-site-isolation-trials');
@ -150,7 +151,7 @@ function createJitsiMeetWindow() {
initPopupsConfigurationMain(mainWindow);
setupAlwaysOnTopMain(mainWindow);
setupPowerMonitorMain(mainWindow);
setupScreenSharingMain(mainWindow, 'Jitsi Meet');
setupScreenSharingMain(mainWindow, config.default.appName);
mainWindow.webContents.on('new-window', (event, url, frameName) => {
const target = getPopupTarget(url, frameName);

Loading…
Cancel
Save