fixes
This commit is contained in:
parent
02f386db2d
commit
94a0c4dc10
3 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ const NodeCommonOpts: BuildOptions = {
|
|||
...CommonOpts,
|
||||
format: "cjs",
|
||||
platform: "node",
|
||||
external: ["electron"],
|
||||
external: ["electron", "original-fs"],
|
||||
target: ["esnext"],
|
||||
define: {
|
||||
IS_DEV: JSON.stringify(isDev)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Copyright (c) 2023 Vendicated and Vencord contributors
|
||||
*/
|
||||
|
||||
import { createWriteStream } from "fs";
|
||||
import { createWriteStream } from "original-fs";
|
||||
import { Readable } from "stream";
|
||||
import { pipeline } from "stream/promises";
|
||||
import { setTimeout } from "timers/promises";
|
||||
|
|
|
@ -37,7 +37,7 @@ export async function githubGet(endpoint: string) {
|
|||
|
||||
export async function downloadVencordAsar() {
|
||||
await downloadFile(
|
||||
"https://github.com/Vendicated/Vencord/releases/latest/download/desktop.asar",
|
||||
"https://github.com/Vendicated/Vencord/releases/latest/download/vesktop.asar",
|
||||
VENCORD_ASAR_FILE,
|
||||
{},
|
||||
{ retryOnNetworkError: true }
|
||||
|
|
Loading…
Reference in a new issue