2022-01-12 06:42:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-08-14 16:58:52 +00:00
|
|
|
for osarch in 'darwin/amd64' 'darwin/arm64' 'linux/amd64' 'linux/arm' 'linux/arm64' 'linux/mips' 'linux/mipsle' ; do
|
2024-08-06 22:47:32 +00:00
|
|
|
GOOS=${osarch%/*} GOARCH=${osarch#*/} go build -ldflags="-w -s" github.com/xvzc/SpoofDPI/cmd/spoof-dpi &&
|
2024-07-26 16:45:00 +00:00
|
|
|
tar -zcvf spoof-dpi-${osarch%/*}-${osarch#*/}.tar.gz ./spoof-dpi &&
|
|
|
|
rm -rf ./spoof-dpi
|
|
|
|
done
|
2024-08-14 16:58:52 +00:00
|
|
|
|
|
|
|
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
|