1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 05:09:02 +08:00

feat: add windows-arm64 support in WINDOWS_ARCH_LIST (#202)

Added support for windows-arm64 architecture in the Makefile as requested in issue #201.
This commit is contained in:
Laotree 2024-12-30 19:40:20 +08:00 committed by GitHub
parent 8c17abbd66
commit 435f9b2289
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,8 @@ PLATFORM_LIST = \
WINDOWS_ARCH_LIST = \
windows-386 \
windows-amd64
windows-amd64 \
windows-arm64
all: linux-amd64 darwin-amd64 windows-amd64 # Most used
@ -84,6 +85,9 @@ windows-386:
windows-amd64:
GOARCH=amd64 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
windows-arm64:
GOARCH=arm64 GOOS=windows $(GOBUILD) -o $(BINDIR)/$(NAME)-$@.exe
gz_releases=$(addsuffix .gz, $(PLATFORM_LIST))
zip_releases=$(addsuffix .zip, $(WINDOWS_ARCH_LIST))