mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-02-03 23:06:40 +08:00
update install.sh
This commit is contained in:
parent
bd5c8ccd71
commit
ef7303d991
@ -1,8 +1,8 @@
|
||||
#!bin/bash
|
||||
|
||||
curl --silent "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" |
|
||||
curl "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" |
|
||||
grep '"tag_name":' |
|
||||
sed -E 's/.*"([^"]+)".*/\1/' |
|
||||
xargs -I {} curl -sOL "https://github.com/xvzc/SpoofDPI/releases/download/"\{\}'/spoof-dpi-osx.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-osx.tar.gz
|
||||
tar -xzvf ./spoof-dpi-osx.tar.gz && rm -rf ./spoof-dpi-${1}.tar.gz
|
||||
|
Loading…
x
Reference in New Issue
Block a user