mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 22:36:53 +00:00
add binary generation for Apple Silicon (darwin/amd64)
This commit is contained in:
parent
7b64d37b60
commit
a093c0a07b
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
VERSION="v0.10.4"
|
VERSION="v0.10.4"
|
||||||
|
|
||||||
for osarch in 'darwin/amd64' 'linux/amd64' 'linux/arm' 'linux/arm64' 'linux/mips' 'linux/mipsle'; do
|
for osarch in 'darwin/amd64' 'darwin/arm64' 'linux/amd64' 'linux/arm' 'linux/arm64' 'linux/mips' 'linux/mipsle'; do
|
||||||
GOOS=${osarch%/*} GOARCH=${osarch#*/} go build -ldflags="-w -s -X main.VERSION=${VERSION}" github.com/xvzc/SpoofDPI/cmd/spoof-dpi &&
|
GOOS=${osarch%/*} GOARCH=${osarch#*/} go build -ldflags="-w -s -X main.VERSION=${VERSION}" github.com/xvzc/SpoofDPI/cmd/spoof-dpi &&
|
||||||
tar -zcvf spoof-dpi-${osarch%/*}-${osarch#*/}.tar.gz ./spoof-dpi &&
|
tar -zcvf spoof-dpi-${osarch%/*}-${osarch#*/}.tar.gz ./spoof-dpi &&
|
||||||
rm -rf ./spoof-dpi
|
rm -rf ./spoof-dpi
|
||||||
|
@ -17,9 +17,12 @@ export PATH=$PATH:~/.spoof-dpi/bin
|
|||||||
```
|
```
|
||||||
---
|
---
|
||||||
```bash
|
```bash
|
||||||
# OSX
|
# macOS Intel
|
||||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
||||||
|
|
||||||
|
# macOS Apple Silicon
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-arm64
|
||||||
|
|
||||||
# linux-amd64
|
# linux-amd64
|
||||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
||||||
|
|
||||||
@ -104,6 +107,3 @@ Since most of websites in the world now support HTTPS, SpoofDPI doesn't bypass D
|
|||||||
# Inspirations
|
# Inspirations
|
||||||
[Green Tunnel](https://github.com/SadeghHayeri/GreenTunnel) by @SadeghHayeri
|
[Green Tunnel](https://github.com/SadeghHayeri/GreenTunnel) by @SadeghHayeri
|
||||||
[GoodbyeDPI](https://github.com/ValdikSS/GoodbyeDPI) by @ValdikSS
|
[GoodbyeDPI](https://github.com/ValdikSS/GoodbyeDPI) by @ValdikSS
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,9 +17,12 @@ export PATH=$PATH:~/.spoof-dpi/bin
|
|||||||
```
|
```
|
||||||
---
|
---
|
||||||
```bash
|
```bash
|
||||||
# OSX
|
# macOS Intel
|
||||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
||||||
|
|
||||||
|
# macOS Apple Silicon
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-arm64
|
||||||
|
|
||||||
# linux-amd64
|
# linux-amd64
|
||||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
||||||
|
|
||||||
|
@ -19,9 +19,12 @@ export PATH=$PATH:~/.spoof-dpi/bin
|
|||||||
```
|
```
|
||||||
---
|
---
|
||||||
```bash
|
```bash
|
||||||
# OSX
|
# macOS Intel
|
||||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
|
||||||
|
|
||||||
|
# macOS Apple Silicon
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-arm64
|
||||||
|
|
||||||
# linux-amd64
|
# linux-amd64
|
||||||
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user