Pacalini 1 год назад
Родитель
Сommit
6642e92697
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      install-release.sh

+ 1 - 0
install-release.sh

@@ -395,6 +395,7 @@ get_latest_version() {
   fi
   fi
   "rm" "$tmp_file"
   "rm" "$tmp_file"
   RELEASE_LATEST="v${RELEASE_LATEST#v}"
   RELEASE_LATEST="v${RELEASE_LATEST#v}"
+  url='https://api.github.com/repos/XTLS/Xray-core/releases'
   if curl -x "${PROXY}" -sSfLo "$tmp_file" -H "Accept: application/vnd.github.v3+json" "$url"; then
   if curl -x "${PROXY}" -sSfLo "$tmp_file" -H "Accept: application/vnd.github.v3+json" "$url"; then
     echo "get release list success"
     echo "get release list success"
   else
   else