update install.sh

This commit is contained in:
xvzc 2022-01-12 20:53:22 +09:00
parent 6ca771c689
commit be12b30675

View File

@ -5,4 +5,4 @@ curl "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" |
sed -E 's/.*"([^"]+)".*/\1/' |
xargs -I {} curl -OL "https://github.com/xvzc/SpoofDPI/releases/download/"\{\}"/spoof-dpi-${1}.tar.gz"
tar -xzvf ./spoof-dpi-osx.tar.gz && rm -rf ./spoof-dpi-${1}.tar.gz
tar -xzvf ./spoof-dpi-osx.tar.gz && rm -rf ./spoof-dpi-${1}.tar.gz && mv ./spoof-dpi /usr/local/bin