diff --git a/install.sh b/install.sh index 47956e0..0474a92 100644 --- a/install.sh +++ b/install.sh @@ -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/"