aboutsummaryrefslogtreecommitdiff
path: root/src/preload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/preload.ts')
-rw-r--r--src/preload.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preload.ts b/src/preload.ts
index c716d2c..9578bf6 100644
--- a/src/preload.ts
+++ b/src/preload.ts
@@ -2,7 +2,7 @@ import electron, { contextBridge, webFrame } from "electron";
import { readFileSync } from "fs";
import { join } from "path";
import VencordNative from "./VencordNative";
-import { ipcRenderer } from 'electron';
+import { ipcRenderer } from "electron";
import IpcEvents from "./utils/IpcEvents";
if (electron.desktopCapturer === void 0) {
@@ -15,7 +15,7 @@ if (electron.desktopCapturer === void 0) {
require.cache[electronPath]!.exports = {
...electron,
desktopCapturer: {
- getSources: (opts) => ipcRenderer.invoke(IpcEvents.GET_DESKTOP_CAPTURE_SOURCES, opts)
+ getSources: opts => ipcRenderer.invoke(IpcEvents.GET_DESKTOP_CAPTURE_SOURCES, opts)
}
};
}