aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain/index.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2023-01-12 23:15:38 +0100
committerGitHub <noreply@github.com>2023-01-12 23:15:38 +0100
commite70abc57b6885e97dff54b89e752ab6df949bd67 (patch)
tree29545279e707b5642970efb7db95daf4e274b307 /src/ipcMain/index.ts
parenta8678db78c63d1981274f452045ccabe4cf6079d (diff)
downloadVencord-e70abc57b6885e97dff54b89e752ab6df949bd67.tar.gz
Vencord-e70abc57b6885e97dff54b89e752ab6df949bd67.tar.bz2
Vencord-e70abc57b6885e97dff54b89e752ab6df949bd67.zip
Update Windows Update patcher (#404)
Diffstat (limited to 'src/ipcMain/index.ts')
-rw-r--r--src/ipcMain/index.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ipcMain/index.ts b/src/ipcMain/index.ts
index ae8a96d..3f22b72 100644
--- a/src/ipcMain/index.ts
+++ b/src/ipcMain/index.ts
@@ -22,7 +22,7 @@ import "./updater";
import { debounce } from "@utils/debounce";
import IpcEvents from "@utils/IpcEvents";
import { Queue } from "@utils/Queue";
-import { BrowserWindow, desktopCapturer, ipcMain, shell } from "electron";
+import { BrowserWindow, ipcMain, shell } from "electron";
import { mkdirSync, readFileSync, watch } from "fs";
import { open, readFile, writeFile } from "fs/promises";
import { join } from "path";
@@ -45,9 +45,6 @@ export function readSettings() {
}
}
-// Fix for screensharing in Electron >= 17
-ipcMain.handle(IpcEvents.GET_DESKTOP_CAPTURE_SOURCES, (_, opts) => desktopCapturer.getSources(opts));
-
ipcMain.handle(IpcEvents.OPEN_QUICKCSS, () => shell.openPath(QUICKCSS_PATH));
ipcMain.handle(IpcEvents.OPEN_EXTERNAL, (_, url) => {