Fix scren-sharing with latest macOS update
This commit is contained in:
parent
ef0372eaad
commit
ae0cc9ca42
3
main.js
3
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);
|
||||
|
|
Loading…
Reference in New Issue