Unbrick updater

This commit is contained in:
Vendicated 2022-10-16 17:23:18 +02:00
parent 20237f5664
commit 0ccea16453
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3
2 changed files with 4 additions and 1 deletions

3
build.mjs Normal file
View File

@ -0,0 +1,3 @@
// FIXME: Delete this soon, for now it is needed so people can update
import("./scripts/build/build.mjs");

View File

@ -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");