aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.mjs3
-rw-r--r--src/ipcMain/updater.ts2
2 files changed, 4 insertions, 1 deletions
diff --git a/build.mjs b/build.mjs
new file mode 100644
index 0000000..44c18e9
--- /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 0801e0b..072173f 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");