mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
setup page build working
This commit is contained in:
parent
505a6a4270
commit
cdee11a74c
1 changed files with 4 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue