aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorAndrei Gavrilescu <andrei.gavrilescu@8x8.com>2020-02-20 16:30:09 +0200
committerSaúl Ibarra Corretgé <s@saghul.net>2020-02-20 15:55:05 +0100
commit866f94a79b4f1dd3aff29fe01271e69ac0decaef (patch)
tree679ac25babab2189a8872461d75e0ef531a4e6ce /main.js
parent3c448837e771796018dfff46dda2b89c7e5f98e2 (diff)
use appName from config
Diffstat (limited to 'main.js')
-rw-r--r--main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.js b/main.js
index 8bedfb2..3e8a0a8 100644
--- a/main.js
+++ b/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);