Skip to content

Commit

Permalink
setup page build working
Browse files Browse the repository at this point in the history
  • Loading branch information
syrk4web committed Jul 18, 2024
1 parent 505a6a4 commit cdee11a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/client/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit cdee11a

Please sign in to comment.