diff --git a/install.sh b/install.sh index 48ca282..88276ac 100644 --- a/install.sh +++ b/install.sh @@ -752,11 +752,13 @@ install_v2ray() { mkdir -p /etc/v2ray/233boy/v2ray cp -rf $(pwd)/* /etc/v2ray/233boy/v2ray else + pushd /tmp if [[ $_test ]]; then git clone https://github.com/233boy/v2ray -b test /etc/v2ray/233boy/v2ray else git clone https://github.com/233boy/v2ray /etc/v2ray/233boy/v2ray fi + popd fi