Update nt_install.sh

This commit is contained in:
tsosunchia
2022-05-23 23:24:42 +08:00
committed by GitHub
parent d60c80e1ff
commit 24eedfa3fe

View File

@@ -149,6 +149,7 @@ checkWgetPackage() {
}
checkVersion() {
checkJqPackage
echo "正在检查版本..."
version=$(curl -sL https://api.github.com/repos/xgadget-lab/nexttrace/releases/latest | jq -r '.tag_name')
if [[ $version == "" ]]; then