This commit is contained in:
2026-07-04 18:40:08 -03:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -265,6 +265,7 @@ cd "$SCRIPT_DIR"
export GOPATH=/tmp/gopath_sshpanel
export GOCACHE=/tmp/gocache_sshpanel
go mod download
go mod tidy
go build -ldflags="-s -w" -o "$INSTALL_DIR/sshpanel" .
info " Binary: $INSTALL_DIR/sshpanel"
cp -r "$SCRIPT_DIR/admin/"* "$INSTALL_DIR/admin/"
+1
View File
@@ -289,6 +289,7 @@ build_binary() {
export GOPATH=/tmp/gopath_sshpanel
export GOCACHE=/tmp/gocache_sshpanel
go mod download
go mod tidy
go build -ldflags="-s -w" -o /tmp/sshpanel_new .
info " Build complete."
}