diff --git a/build.mjs b/build.mjs new file mode 100644 index 000000000..44c18e94a --- /dev/null +++ b/build.mjs @@ -0,0 +1,3 @@ +// FIXME: Delete this soon, for now it is needed so people can update + +import("./scripts/build/build.mjs"); diff --git a/src/ipcMain/updater.ts b/src/ipcMain/updater.ts index 0801e0b75..072173f85 100644 --- a/src/ipcMain/updater.ts +++ b/src/ipcMain/updater.ts @@ -81,7 +81,7 @@ async function pull() { } async function build() { - const res = await execFile("node", ["build.mjs"], { + const res = await execFile("node", ["scripts/build/build.mjs"], { cwd: VENCORD_SRC_DIR }); return !res.stderr.includes("Build failed");