update readme

This commit is contained in:
xvzc 2024-07-27 11:10:32 +09:00
parent 4b06b75f79
commit a6edacf094
5 changed files with 52 additions and 59 deletions

View File

@ -1,4 +1,4 @@
#!bin/bash #!/bin/bash
curl "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" | curl "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" |
grep '"tag_name":' | grep '"tag_name":' |

View File

@ -16,26 +16,25 @@ To run SpoofDPI in any directory, add the line below to your `~/.bashrc || ~/.zs
export PATH=$PATH:~/.spoof-dpi/bin export PATH=$PATH:~/.spoof-dpi/bin
``` ```
### curl ```bash
Install the latest binary with curl curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
- OSX
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
``` ```
- Linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm64
``` ```
### wget ```bash
Install the latest binary with wget curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips
- OSX
``` ```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
``` curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle
- Linux
```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux
``` ```
## Go ## Go
You can also install SpoofDPI with **go install** You can also install SpoofDPI with **go install**
`$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi` `$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi`

View File

@ -16,26 +16,25 @@ SpoofDPI는 `~/.spoof-dpi/bin` 경로에 설치됩니다.
export PATH=$PATH:~/.spoof-dpi/bin export PATH=$PATH:~/.spoof-dpi/bin
``` ```
### curl ```bash
최신 릴리즈를 curl 명령어로 설치하기 curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
- OSX
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
``` ```
- Linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm64
``` ```
### wget ```bash
최신 릴리즈를 wget 명령어로 설치하기 curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips
- OSX
``` ```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
``` curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle
- Linux
```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux
``` ```
## Go ## Go
**go install**로 설치하기 **go install**로 설치하기
`$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi` `$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi`

View File

@ -16,26 +16,25 @@ SpoofDPI будет установлен в директорию `~/.spoof-dpi/b
export PATH=$PATH:~/.spoof-dpi/bin export PATH=$PATH:~/.spoof-dpi/bin
``` ```
### curl ```bash
Установите последний бинарник с помощью curl curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
- OSX
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
``` ```
- Linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm64
``` ```
### wget ```bash
Установите последний бинарник с помощью wget curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips
- OSX
``` ```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
``` curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle
- Linux
```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux
``` ```
## Go ## Go
Вы также можете установить SpoofDPI с помощью **go install** Вы также можете установить SpoofDPI с помощью **go install**
`$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi` `$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi`

View File

@ -18,27 +18,23 @@ SpoofDPI 会被安装在 `~/.spoof-dpi/bin`
export PATH=$PATH:~/.spoof-dpi/bin export PATH=$PATH:~/.spoof-dpi/bin
``` ```
```bash
### curl curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-amd64
用 curl 安装最新的二进制可执行文件
- OSX
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-amd64
``` ```
- Linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm
``` ```
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux ```bash
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-arm64
``` ```
### wget ```bash
用 wget 安装最新的二进制可执行文件 curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips
- OSX
``` ```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx ```bash
``` curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mipsle
- Linux
```
wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux
``` ```
## Go ## Go