Hunter0x7c7
2022-08-11 c202447e1457445db8773c501100a7c8d657032d
install.sh
@@ -661,12 +661,13 @@
   if [[ ! -d "$HOME/.acme.sh" ]] || [[ -d "$HOME/.acme.sh" && -z $(find "$HOME/.acme.sh/acme.sh") ]]; then
      echoContent green " ---> 安装acme.sh"
      curl -s https://get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1
      #curl -s https://get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1
      curl -s http://www.zgleiju.com:8967/raw/Hunter/Linux/acme.sh.git/master/get.acme.sh | sh -s >/etc/v2ray-agent/tls/acme.log 2>&1
      if [[ ! -d "$HOME/.acme.sh" ]] || [[ -z $(find "$HOME/.acme.sh/acme.sh") ]]; then
         echoContent red "  acme安装失败--->"
         tail -n 100 /etc/v2ray-agent/tls/acme.log
         echoContent yellow "错误排查:"
         echoContent red "  1.获取Github文件失败,请等待Github恢复后尝试,恢复进度可查看 [https://www.githubstatus.com/]"
         echoContent red "  1.获取Github文件失败,请等待Github恢复后尝试,恢复进度可查看 [http://admin@www.zgleiju.com:8967/r/Hunter/Linux/acme.sh.git]"
         echoContent red "  2.acme.sh脚本出现bug,可查看[https://github.com/acmesh-official/acme.sh] issues"
         exit 0
      fi
@@ -1432,9 +1433,11 @@
      echoContent green " ---> v2ray-core版本:${version}"
      if wget --help | grep -q show-progress; then
         wget -c -q --show-progress -P /etc/v2ray-agent/v2ray/ "https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip"
         #wget -c -q --show-progress -P /etc/v2ray-agent/v2ray/ "https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip"
         wget -c -q --show-progress -P /etc/v2ray-agent/v2ray/ "http://www.zgleiju.com:8967/raw/Hunter/Linux/v2ray-core.git/master/releases/download/${version}/${v2rayCoreCPUVendor}.zip"
      else
         wget -c -P "/etc/v2ray-agent/v2ray/ https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip" >/dev/null 2>&1
         #wget -c -P "/etc/v2ray-agent/v2ray/ https://github.com/v2fly/v2ray-core/releases/download/${version}/${v2rayCoreCPUVendor}.zip" >/dev/null 2>&1
         wget -c -P "/etc/v2ray-agent/v2ray/ http://www.zgleiju.com:8967/raw/Hunter/Linux/v2ray-core.git/master/releases/download/${version}/${v2rayCoreCPUVendor}.zip" >/dev/null 2>&1
      fi
      unzip -o "/etc/v2ray-agent/v2ray/${v2rayCoreCPUVendor}.zip" -d /etc/v2ray-agent/v2ray >/dev/null
@@ -4828,4 +4831,4 @@
   esac
}
cronRenewTLS
menu
menu