modify: 取消中国镜像注释

This commit is contained in:
Akatsukiro 2024-01-16 15:01:50 +08:00
parent 3402ba7e8e
commit 101da24e35
Signed by: Akatsukiro
GPG Key ID: 93F1D32999999999

View File

@ -50,10 +50,10 @@ pre_check() {
# SCRIPT_RAW_URL="raw.githubusercontent.com/akastukiro/Lsky-Pro-install-script/master"
LSKYPRO_RELEASE_URL="github.com/lsky-org/lsky-pro/releases/download"
LSKY_VERSION=$(curl -s "https://api.github.com/repos/lsky-org/lsky-pro/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
# else
# SCRIPT_RAW_URL=
# LSKYPRO_RELEASE_URL=
# LSKY_VERSION=
else
# SCRIPT_RAW_URL=
LSKYPRO_RELEASE_URL="github.com/lsky-org/lsky-pro/releases/download"
LSKY_VERSION=$(curl -s "https://api.github.com/repos/lsky-org/lsky-pro/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
fi
}