diff --git a/build.sh b/build.sh index 8e0f440..30afa03 100755 --- a/build.sh +++ b/build.sh @@ -9,6 +9,8 @@ CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o dist/frp-panel-arm64.exe cmd echo "Building frp-panel full linux binaries..." CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o dist/frp-panel-linux-amd64 cmd/frpp/*.go CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o dist/frp-panel-linux-arm64 cmd/frpp/*.go +CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o dist/frp-panel-linux-armv7l cmd/frpp/*.go +CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -o dist/frp-panel-linux-armv6l cmd/frpp/*.go echo "Building frp-panel full darwin binaries..." CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o dist/frp-panel-darwin-amd64 cmd/frpp/*.go CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o dist/frp-panel-darwin-arm64 cmd/frpp/*.go @@ -19,6 +21,8 @@ CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -o dist/frp-panel-client-arm64. echo "Building frp-panel client only linux binaries..." CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o dist/frp-panel-client-linux-amd64 cmd/frppc/*.go CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o dist/frp-panel-client-linux-arm64 cmd/frppc/*.go +CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o dist/frp-panel-client-linux-armv7l cmd/frppc/*.go +CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -o dist/frp-panel-client-linux-armv6l cmd/frppc/*.go echo "Building frp-panel client only darwin binaries..." CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o dist/frp-panel-client-darwin-amd64 cmd/frppc/*.go CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -o dist/frp-panel-client-darwin-arm64 cmd/frppc/*.go diff --git a/install.sh b/install.sh index cb51ead..52af09e 100755 --- a/install.sh +++ b/install.sh @@ -19,6 +19,12 @@ case "$OS" in aarch64) wget -O frp-panel "${prefix}https://github.com/VaalaCat/frp-panel/releases/latest/download/frp-panel-linux-arm64" ;; + armv7l) + wget -O frp-panel "${prefix}https://github.com/VaalaCat/frp-panel/releases/latest/download/frp-panel-linux-armv7l" + ;; + armv6l) + wget -O frp-panel "${prefix}https://github.com/VaalaCat/frp-panel/releases/latest/download/frp-panel-linux-armv6l" + ;; esac ;; Darwin)