chore(popups): Move popup configs to electron-utils
This commit is contained in:
parent
39cf8854af
commit
a8db3c1b28
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
"google-auth": {
|
|
||||||
"matchPatterns": {
|
|
||||||
"url": "accounts.google.com"
|
|
||||||
},
|
|
||||||
"target": "electron"
|
|
||||||
},
|
|
||||||
"dropbox-auth": {
|
|
||||||
"matchPatterns": {
|
|
||||||
"url": "dropbox.com/oauth2/authorize"
|
|
||||||
},
|
|
||||||
"target": "electron"
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -7,7 +7,6 @@ import {
|
||||||
Transport
|
Transport
|
||||||
} from '../../transport';
|
} from '../../transport';
|
||||||
|
|
||||||
import electronPopupsConfig from './electronPopupsConfig.json';
|
|
||||||
import {
|
import {
|
||||||
getAvailableDevices,
|
getAvailableDevices,
|
||||||
getCurrentDevices,
|
getCurrentDevices,
|
||||||
|
@ -1070,16 +1069,4 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
||||||
stopRecording(mode) {
|
stopRecording(mode) {
|
||||||
this.executeCommand('startRecording', mode);
|
this.executeCommand('startRecording', mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the configuration for electron for the windows that are open
|
|
||||||
* from Jitsi Meet.
|
|
||||||
*
|
|
||||||
* @returns {Promise<Object>}
|
|
||||||
*
|
|
||||||
* NOTE: For internal use only.
|
|
||||||
*/
|
|
||||||
_getElectronPopupsConfig() {
|
|
||||||
return Promise.resolve(electronPopupsConfig);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue