From 6fd23d3a6da60b7033eb54961ba1a90e0afa3e11 Mon Sep 17 00:00:00 2001 From: xvzc Date: Wed, 12 Jan 2022 17:30:26 +0900 Subject: [PATCH] add install.sh --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..6dacdee --- /dev/null +++ b/install.sh @@ -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