add install.sh

This commit is contained in:
xvzc 2022-01-12 17:30:26 +09:00
parent 43366b7225
commit 6fd23d3a6d

8
install.sh Normal file
View File

@ -0,0 +1,8 @@
#!bin/bash
curl --silent "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.zip'
unzip -rf ./spoof-dpi-osx.zip