mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-25 06:17:02 -04:00
VencordDesktop: Fix Updater
This commit is contained in:
parent
676bc612d9
commit
6492908a62
2 changed files with 7 additions and 4 deletions
|
@ -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", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue