mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:53:04 +08:00
feat: 实装中国镜像(ghproxy 代理)
This commit is contained in:
parent
91ba13efef
commit
a172c3d85f
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user