aboutsummaryrefslogtreecommitdiff
path: root/src/main/updater
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-04-05 04:34:39 +0200
committerVendicated <vendicated@riseup.net>2023-04-05 04:34:39 +0200
commit6492908a62cbb8e56be6b28e574a3e9e33cc5051 (patch)
tree652f1f4db7361bafc2d8d689a03f5668c80ab4b0 /src/main/updater
parent676bc612d96c3d1d7c7a80e62bf8e50a2a6fb74b (diff)
downloadVencord-6492908a62cbb8e56be6b28e574a3e9e33cc5051.tar.gz
Vencord-6492908a62cbb8e56be6b28e574a3e9e33cc5051.tar.bz2
Vencord-6492908a62cbb8e56be6b28e574a3e9e33cc5051.zip
VencordDesktop: Fix Updater
Diffstat (limited to 'src/main/updater')
-rw-r--r--src/main/updater/common.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/updater/common.ts b/src/main/updater/common.ts
index 3729c6d..bc628f0 100644
--- a/src/main/updater/common.ts
+++ b/src/main/updater/common.ts
@@ -24,7 +24,7 @@ export async function calculateHashes() {
const hashes = {} as Record<string, string>;
await Promise.all(
- ["patcher.js", "preload.js", "renderer.js", "renderer.css"].map(file => new Promise<void>(r => {
+ [IS_DISCORD_DESKTOP ? "patcher.js" : "main.js", "preload.js", "renderer.js", "renderer.css"].map(file => new Promise<void>(r => {
const fis = createReadStream(join(__dirname, file));
const hash = createHash("sha1", { encoding: "hex" });
fis.once("end", () => {