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/patcher.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/patcher.ts')
-rw-r--r-- | src/patcher.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/patcher.ts b/src/patcher.ts index 2e13197..bb7aab2 100644 --- a/src/patcher.ts +++ b/src/patcher.ts @@ -1,7 +1,7 @@ import electron, { app, BrowserWindowConstructorOptions } from "electron"; import installExt, { REACT_DEVELOPER_TOOLS } from "electron-devtools-installer"; import { join } from "path"; -import { initIpc } from './ipcMain'; +import { initIpc } from "./ipcMain"; console.log("[Vencord] Starting up..."); @@ -49,7 +49,7 @@ process.env.DATA_DIR = join(app.getPath("userData"), "..", "Vencord"); electron.app.whenReady().then(() => { installExt(REACT_DEVELOPER_TOOLS) .then(() => console.info("Installed React DevTools")) - .catch((err) => console.error("Failed to install React DevTools", err)); + .catch(err => console.error("Failed to install React DevTools", err)); // Remove CSP electron.session.defaultSession.webRequest.onHeadersReceived(({ responseHeaders, url }, cb) => { |