fix: trojan install

This commit is contained in:
Kirigaya Kazuto 2022-02-06 01:33:54 +00:00
parent 5f3268aee9
commit 45af14a24b

View File

@ -2,7 +2,7 @@
set -xe
sudo apt update
sudo apt install -y curl wireguard python3
sudo apt install -y curl wireguard python3 unzip
. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
@ -31,6 +31,11 @@ gzip -cd gost.gz > gost
chmod +x gost
rm gost.gz
curl -vL https://github.com/p4gefau1t/trojan-go/releases/download/v0.10.6/trojan-go-linux-amd64.zip -o trojan.zip
unzip -p trojan.zip trojan-go > trojan-go
chmod +x trojan-go
rm trojan.zip
cd ..
VERIFIED_TUNNEL_HASH="a7ce38b2c30980be4e71c3af8a9c1db8183db349c699fa6f843e67add7e6cca2"