delete: 删除脚本链接

This commit is contained in:
Akatsukiro 2024-01-17 12:48:21 +08:00
parent 0c73363a97
commit 93d4aa1868
Signed by: Akatsukiro
GPG Key ID: 93F1D32999999999

View File

@ -47,11 +47,9 @@ pre_check() {
fi
if [[ -z "${CN}" ]]; then
# 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="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