pull/964/head
233boy 2 years ago
parent 776d7e6887
commit 7dddce121b
  1. 2
      src/download-v2ray.sh
  2. 2
      v2ray.sh

@ -26,7 +26,7 @@ _download_v2ray_file() {
fi
unzip -o $v2ray_tmp_file -d "/usr/bin/v2ray/"
chmod +x /usr/bin/v2ray/{v2ray,v2ctl}
chmod +x /usr/bin/v2ray/v2ray
if [[ ! $(cat /root/.bashrc | grep v2ray) ]]; then
echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc
fi

@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v3.62"
_version="v3.63"
cmd="apt-get"

Loading…
Cancel
Save