mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Switch to IPC channel for getDesktopCapturerSources (#21042)
This commit is contained in:
@@ -550,6 +550,14 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||||||
return this.ipcCall('getSpellCheckLanguages');
|
return this.ipcCall('getSpellCheckLanguages');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async getDesktopCapturerSources(options: GetSourcesOptions): Promise<Array<DesktopCapturerSource>> {
|
||||||
|
return this.ipcCall('getDesktopCapturerSources', options);
|
||||||
|
}
|
||||||
|
|
||||||
|
supportsDesktopCapturer(): boolean {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
async getAvailableSpellCheckLanguages(): Promise<string[]> {
|
async getAvailableSpellCheckLanguages(): Promise<string[]> {
|
||||||
return this.ipcCall('getAvailableSpellCheckLanguages');
|
return this.ipcCall('getAvailableSpellCheckLanguages');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user