aboutsummaryrefslogtreecommitdiff
path: root/src/main/updater/git.ts
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-04-09 04:04:02 +0200
committerGitHub <noreply@github.com>2023-04-09 04:04:02 +0200
commit08822dd19064ea5b707117c5ed51f62dd0a8e316 (patch)
tree1020c2dad28f5dc502f797ca09066145fcc12109 /src/main/updater/git.ts
parentbfa20f2634a0f3f73a03135f9ddb9d0dfe566e88 (diff)
downloadVencord-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.ts3
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));