feat: expose the desktopCapturer module in the main process (#23548)

This commit is contained in:
Milan Burda
2020-05-21 02:25:49 +02:00
committed by GitHub
parent 4b23a85475
commit df53816eea
10 changed files with 95 additions and 68 deletions

View File

@@ -0,0 +1,5 @@
import { getSourcesImpl } from '@electron/internal/browser/desktop-capturer';
export async function getSources (options: Electron.SourcesOptions) {
return getSourcesImpl(null, options);
}