SpoofDPI/install.sh

9 lines
363 B
Bash
Raw Normal View History

2022-01-12 08:30:26 +00:00
#!bin/bash
2022-01-12 08:59:40 +00:00
curl "https://api.github.com/repos/xvzc/SpoofDPI/releases/latest" |
2022-01-12 08:30:26 +00:00
grep '"tag_name":' |
sed -E 's/.*"([^"]+)".*/\1/' |
2022-01-12 08:59:40 +00:00
xargs -I {} curl -OL "https://github.com/xvzc/SpoofDPI/releases/download/"\{\}"/spoof-dpi-${1}.tar.gz"
2022-01-12 08:30:26 +00:00
2022-01-12 08:59:40 +00:00
tar -xzvf ./spoof-dpi-osx.tar.gz && rm -rf ./spoof-dpi-${1}.tar.gz