From cac77dce406be92755519be595cf460e8f758b16 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 1 Oct 2022 17:05:18 +0200 Subject: Fix DiscordNative.desktopCapture.getDesktopCaptureSources() in electron17+ --- src/utils/IpcEvents.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/IpcEvents.ts b/src/utils/IpcEvents.ts index 24e52b9..3ceaa9f 100644 --- a/src/utils/IpcEvents.ts +++ b/src/utils/IpcEvents.ts @@ -23,5 +23,6 @@ export default strEnum({ GET_REPO: "VencordGetRepo", GET_HASHES: "VencordGetHashes", UPDATE: "VencordUpdate", - BUILD: "VencordBuild" + BUILD: "VencordBuild", + GET_DESKTOP_CAPTURE_SOURCES: "VencordGetDesktopCaptureSources" } as const); -- cgit