From cdee11a74cabb8d53dc227d76345dbd74e53e10e Mon Sep 17 00:00:00 2001 From: Jordan Blasenhauer Date: Thu, 18 Jul 2024 09:19:26 +0200 Subject: [PATCH] setup page build working --- src/client/build.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client/build.js b/src/client/build.js index 88884decf..14fee194f 100644 --- a/src/client/build.js +++ b/src/client/build.js @@ -183,8 +183,10 @@ async function delPrevDirs() { async function buildSetup() { // Build setup - runCommand("/setup", "npm install"); - runCommand("/setup", "npm run build"); + await runCommand("/setup", "npm install"); + await runCommand("/setup", "npm run build"); + // Move /setup/output/index.html to ui/templates/setup.html + await moveFile("./setup/output/index.html", "../ui/templates/setup.html"); } async function build() {