refactor: update reporter download url

This commit is contained in:
moonrailgun 2023-12-25 09:40:16 +08:00
parent 074575f6ac
commit 9f654b9aaf

View File

@ -137,8 +137,7 @@ function install_client() {
echo -e "${Info} Downloading ${arch} binary file..." echo -e "${Info} Downloading ${arch} binary file..."
mkdir -p /usr/local/tianji/reporter/ mkdir -p /usr/local/tianji/reporter/
cd /tmp cd /tmp
# wget --no-check-certificate "https://github.com/msgbyte/tianji/releases/latest/download/tianji-reporter-linux-${arch}" -O tianji-reporter-linux-${arch} wget --no-check-certificate "https://github.com/msgbyte/tianji/releases/latest/download/tianji-reporter-linux-${arch}" -O tianji-reporter-linux-${arch}
wget --no-check-certificate "https://temp-storage.msgbyte.com/tianji-reporter/tianji-reporter-linux-${arch}" -O tianji-reporter-linux-${arch}
mv tianji-reporter-linux-${arch} /usr/local/tianji/reporter/tianji-reporter mv tianji-reporter-linux-${arch} /usr/local/tianji/reporter/tianji-reporter
chmod +x /usr/local/tianji/reporter/tianji-reporter chmod +x /usr/local/tianji/reporter/tianji-reporter
enable_service enable_service