aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <s@saghul.net>2020-10-16 13:42:52 +0200
committerSaúl Ibarra Corretgé <s@saghul.net>2020-10-16 13:43:19 +0200
commitae0cc9ca425b207c43ce92d74118751bf0a02230 (patch)
treee72f91e86c7dc133ebec06027a7b837d4a446ece /main.js
parentef0372eaad5f2326b5e6af580d0085dba1e3d22f (diff)
Fix scren-sharing with latest macOS update
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 b5adc02..560cb7a 100644
--- a/main.js
+++ b/main.js
@@ -22,6 +22,7 @@ const path = require('path');
const URL = require('url');
const config = require('./app/features/config');
const { openExternalLink } = require('./app/features/utils/openExternalLink');
+const pkgJson = require('./package.json');
const showDevTools = Boolean(process.env.SHOW_DEV_TOOLS) || (process.argv.indexOf('--show-dev-tools') > -1);
@@ -205,7 +206,7 @@ function createJitsiMeetWindow() {
initPopupsConfigurationMain(mainWindow);
setupAlwaysOnTopMain(mainWindow);
setupPowerMonitorMain(mainWindow);
- setupScreenSharingMain(mainWindow, config.default.appName);
+ setupScreenSharingMain(mainWindow, config.default.appName, pkgJson.build.appId);
mainWindow.webContents.on('new-window', (event, url, frameName) => {
const target = getPopupTarget(url, frameName);