Skip to content

Commit

Permalink
Unbrick updater
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Oct 16, 2022
1 parent 20237f5 commit 0ccea16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// FIXME: Delete this soon, for now it is needed so people can update

import("./scripts/build/build.mjs");
2 changes: 1 addition & 1 deletion src/ipcMain/updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0ccea16

Please sign in to comment.