diff options
author | Ven <vendicated@riseup.net> | 2022-10-06 00:42:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 00:42:58 +0200 |
commit | 74c3930e0a5ed264f330bc32c27116ead1063c5d (patch) | |
tree | a29ba43787c8cf8bbee648b5b478a8152086f965 /src/preload.ts | |
parent | e563521416052808bcec57057b921f0c0b6ca594 (diff) | |
download | Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.gz Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.tar.bz2 Vencord-74c3930e0a5ed264f330bc32c27116ead1063c5d.zip |
add eslint config (#53)
* eslint
* workflow
* lint main
Diffstat (limited to 'src/preload.ts')
-rw-r--r-- | src/preload.ts | 4 |
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) } }; } |