update insatll.sh

This commit is contained in:
xvzc 2022-01-12 20:59:26 +09:00
parent be12b30675
commit a48d0bdcef

View File

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