mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Update build_trojan-go.sh
This commit is contained in:
parent
b47964ff95
commit
0573235486
@ -19,7 +19,9 @@ for CMD in "${COMMANDS[@]}"; do
|
||||
done
|
||||
|
||||
cd ${cur_dir}
|
||||
git clone https://github.com/p4gefau1t/trojan-go.git
|
||||
version=$(wget --no-check-certificate -qO- https://api.github.com/repos/p4gefau1t/trojan-go/tags | grep 'name' | cut -d\" -f4 | head -1)
|
||||
echo "git clone -b ${version} https://github.com/p4gefau1t/trojan-go.git"
|
||||
git clone -b ${version} https://github.com/p4gefau1t/trojan-go.git
|
||||
cd trojan-go || exit 2
|
||||
|
||||
PACKAGE_NAME="github.com/p4gefau1t/trojan-go"
|
||||
|
Loading…
x
Reference in New Issue
Block a user