diff options
author | Saúl Ibarra Corretgé <s@saghul.net> | 2020-10-16 13:42:52 +0200 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2020-10-16 13:43:19 +0200 |
commit | ae0cc9ca425b207c43ce92d74118751bf0a02230 (patch) | |
tree | e72f91e86c7dc133ebec06027a7b837d4a446ece /main.js | |
parent | ef0372eaad5f2326b5e6af580d0085dba1e3d22f (diff) |
Fix scren-sharing with latest macOS update
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |