Skip to content

Commit

Permalink
feat: support armv6l and v7l
Browse files Browse the repository at this point in the history
  • Loading branch information
VaalaCat committed May 22, 2024
1 parent 54dc86b commit 6d9133d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6d9133d

Please sign in to comment.