Skip to content

Commit

Permalink
feat: support loong64 arch
Browse files Browse the repository at this point in the history
fix #142
  • Loading branch information
aooohan committed Mar 25, 2024
1 parent 8a9a9d5 commit be89b48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ builds:
- amd64
- arm
- arm64
- loong64
goarm:
- "7"
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: loong64
- goos: darwin
goarch: loong64
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
Expand Down
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ ARCH_TYPE=$(uname -m)

if [ "$ARCH_TYPE" = "arm64" ]; then
ARCH_TYPE="aarch64"
elif [ "$ARCH_TYPE" = "loongarch64" ]; then
ARCH_TYPE="loong64"
fi

FILENAME="vfox_${VERSION}_${OS_TYPE}_${ARCH_TYPE}"
Expand Down

0 comments on commit be89b48

Please sign in to comment.