feat: 实装中国镜像(ghproxy 代理)

This commit is contained in:
Akatsukiro 2024-01-17 12:50:54 +08:00
parent 91ba13efef
commit a172c3d85f
Signed by: Akatsukiro
GPG Key ID: 93F1D32999999999

View File

@ -50,7 +50,7 @@ pre_check() {
LSKYPRO_RELEASE_URL="https://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
LSKYPRO_RELEASE_URL="https://github.com/lsky-org/lsky-pro/releases/download"
LSKYPRO_RELEASE_URL="https://mirror.ghproxy.com/https://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
}