ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
Go aiai-agentsautonomous-agentsbug-bountydockergolanglinuxllmmcpnextjspenetration-testingpentestpostgresqlreareactred-teamsecuritysecurity-automationsqlitetypescript
fix(install): create server/webui before copying the frontend build
jackybabesb5bf99f5fb6c
diff --git a/install.sh b/install.shindex 8c245d6..d09c254 100755--- a/install.sh+++ b/install.sh@@ -107,7 +107,7 @@ JSONif command -v npm >/dev/null 2>&1; theninfo "building frontend static assets..."( cd web && npm ci --ignore-scripts && npm run build:static )- rm -rf server/webui/dist && cp -r web/out server/webui/dist+ rm -rf server/webui/dist && mkdir -p server/webui && cp -r web/out server/webui/distinfo "compiling embedded single binary..."CGO_ENABLED=0 go build -tags embedui -trimpath -o artex ./cmd/artexelsediff --git a/update.sh b/update.shindex b312b7b..10ffc24 100755--- a/update.sh+++ b/update.sh@@ -57,7 +57,7 @@ update_local(){if command -v npm >/dev/null 2>&1; theninfo "Rebuilding frontend static assets…"( cd web && npm ci --ignore-scripts && npm run build:static )- rm -rf server/webui/dist && cp -r web/out server/webui/dist+ rm -rf server/webui/dist && mkdir -p server/webui && cp -r web/out server/webui/distinfo "Recompiling the embedded single binary…"CGO_ENABLED=0 go build -tags embedui -trimpath -o artex ./cmd/artexelse