fix: Debian version should not contain V

This commit is contained in:
shenmo 2024-11-22 00:26:42 +08:00 committed by GitHub
parent d0c2de02f2
commit 575da81986
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ X64_JSON=$(curl -s "https://www.feishu.cn/api/package_info?platform=10")
# arm64 https://www.feishu.cn/api/package_info?platform=12
# "version_number": "Linux-x64-deb@V7.22.9"
VERSION=$(echo $X64_JSON | jq -r ".data.version_number" | cut -d '@' -f 2)
VERSION=$(echo $X64_JSON | jq -r ".data.version_number" | cut -d 'V' -f 2)
X64_URL=$(echo $X64_JSON | jq -r ".data.download_link")
./check_downloader.py bytedance-feishu-stable $VERSION $X64_URL