chore: update install.sh download url because of not opensource yet

This commit is contained in:
moonrailgun 2023-12-02 00:25:39 +08:00
parent 78796af00b
commit 2ceec5159c

View File

@ -137,7 +137,8 @@ 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}" # wget --no-check-certificate "https://github.com/msgbyte/tianji/releases/latest/download/tianji-reporter-linux-${arch}"
wget --no-check-certificate "https://temp-storage.msgbyte.com/tianji-reporter/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