aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcMain')
-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) => {