Run go mod tidy before build in all installers

go.sum was never committed (no local Go toolchain to generate it),
causing "missing go.sum entry" build failures on target hosts.
go mod tidy regenerates it automatically before go build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sysops
2026-07-10 17:53:20 +02:00
co-authored by Claude Sonnet 5
parent 6e0e6813f1
commit f333623035
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -161,6 +161,7 @@ echo "Running native installer inside container..."
pct exec "$VMID" -- bash -c "
set -e
cd /opt/wireguard-ui-multi-src
go mod tidy
go build -o wireguard-ui-multi ./cmd/wireguard-ui-multi
bash scripts/install.sh
"