diff options
author | V <vendicated@riseup.net> | 2023-04-09 04:04:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 04:04:02 +0200 |
commit | 08822dd19064ea5b707117c5ed51f62dd0a8e316 (patch) | |
tree | 1020c2dad28f5dc502f797ca09066145fcc12109 /src/main/updater/git.ts | |
parent | bfa20f2634a0f3f73a03135f9ddb9d0dfe566e88 (diff) | |
download | Vencord-08822dd19064ea5b707117c5ed51f62dd0a8e316.tar.gz Vencord-08822dd19064ea5b707117c5ed51f62dd0a8e316.tar.bz2 Vencord-08822dd19064ea5b707117c5ed51f62dd0a8e316.zip |
Improvements for VencordDesktop (#847)
Diffstat (limited to 'src/main/updater/git.ts')
-rw-r--r-- | src/main/updater/git.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/updater/git.ts b/src/main/updater/git.ts index 89c2d3c..d6a29a8 100644 --- a/src/main/updater/git.ts +++ b/src/main/updater/git.ts @@ -22,7 +22,7 @@ import { ipcMain } from "electron"; import { join } from "path"; import { promisify } from "util"; -import { calculateHashes, serializeErrors } from "./common"; +import { serializeErrors } from "./common"; const VENCORD_SRC_DIR = join(__dirname, ".."); @@ -76,7 +76,6 @@ async function build() { return !res.stderr.includes("Build failed"); } -ipcMain.handle(IpcEvents.GET_HASHES, serializeErrors(calculateHashes)); ipcMain.handle(IpcEvents.GET_REPO, serializeErrors(getRepo)); ipcMain.handle(IpcEvents.GET_UPDATES, serializeErrors(calculateGitChanges)); ipcMain.handle(IpcEvents.UPDATE, serializeErrors(pull)); |