add windows release

This commit is contained in:
xvzc 2024-08-15 01:58:52 +09:00
parent 3bdf24ca8a
commit bdc1a68691

View File

@ -5,3 +5,7 @@ for osarch in 'darwin/amd64' 'darwin/arm64' 'linux/amd64' 'linux/arm' 'linux/arm
tar -zcvf spoof-dpi-${osarch%/*}-${osarch#*/}.tar.gz ./spoof-dpi &&
rm -rf ./spoof-dpi
done
for osarch in 'windows/amd64'; do
GOOS=${osarch%/*} GOARCH=${osarch#*/} go build -o spoof-dpi-${osarch%/*}-${osarch#*/}.exe -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi
done