diff --git a/install.sh b/install.sh index e738761..8904f21 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!bin/bash +#!/bin/bash curl "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" | grep '"tag_name":' | diff --git a/readme.md b/readme.md index bcaa0b1..26cb534 100644 --- a/readme.md +++ b/readme.md @@ -16,26 +16,25 @@ To run SpoofDPI in any directory, add the line below to your `~/.bashrc || ~/.zs export PATH=$PATH:~/.spoof-dpi/bin ``` -### curl -Install the latest binary with curl -- OSX +```bash +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 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 -Install the latest binary with wget -- OSX +```bash +curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips ``` -wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx -``` -- Linux -``` -wget -O - 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-mipsle ``` + ## Go You can also install SpoofDPI with **go install** `$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi` diff --git a/readme_ko.md b/readme_ko.md index c905c55..0e9b74a 100644 --- a/readme_ko.md +++ b/readme_ko.md @@ -16,26 +16,25 @@ SpoofDPI는 `~/.spoof-dpi/bin` 경로에 설치됩니다. export PATH=$PATH:~/.spoof-dpi/bin ``` -### curl -최신 릴리즈를 curl 명령어로 설치하기 -- OSX +```bash +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 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 -최신 릴리즈를 wget 명령어로 설치하기 -- OSX +```bash +curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips ``` -wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx -``` -- Linux -``` -wget -O - 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-mipsle ``` + ## Go **go install**로 설치하기 `$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi` diff --git a/readme_ru.md b/readme_ru.md index 049edd3..de8e513 100644 --- a/readme_ru.md +++ b/readme_ru.md @@ -16,26 +16,25 @@ SpoofDPI будет установлен в директорию `~/.spoof-dpi/b export PATH=$PATH:~/.spoof-dpi/bin ``` -### curl -Установите последний бинарник с помощью curl -- OSX +```bash +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 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 -Установите последний бинарник с помощью wget -- OSX +```bash +curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips ``` -wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx -``` -- Linux -``` -wget -O - 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-mipsle ``` + ## Go Вы также можете установить SpoofDPI с помощью **go install** `$ go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi` diff --git a/readme_zh-cn.md b/readme_zh-cn.md index f6a4071..a4e6406 100644 --- a/readme_zh-cn.md +++ b/readme_zh-cn.md @@ -18,27 +18,23 @@ SpoofDPI 会被安装在 `~/.spoof-dpi/bin` export PATH=$PATH:~/.spoof-dpi/bin ``` - -### curl -用 curl 安装最新的二进制可执行文件 - -- OSX +```bash +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 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 -用 wget 安装最新的二进制可执行文件 -- OSX +```bash +curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s linux-mips ``` -wget -O - https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s osx -``` -- Linux -``` -wget -O - 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-mipsle ``` ## Go