setup page build working

This commit is contained in:
Jordan Blasenhauer 2024-07-18 09:19:26 +02:00
parent 505a6a4270
commit cdee11a74c

View file

@ -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() {