Merge pull request #2 from shenmo7192/patch-1

fix: remove $0d from the end of the link
This commit is contained in:
2024-11-22 08:37:10 +08:00 committed by GitHub
commit 0be9df9940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
X64_URL=$(curl -sI "https://xmind.cn/zen/download/linux_deb/" | grep location | cut -d ' ' -f 2)
X64_URL=$(curl -sI "https://xmind.cn/zen/download/linux_deb/" | grep location | cut -d ' ' -f 2 | tr -d '\r')
# https://dl3.xmind.cn/Xmind-for-Linux-amd64bit-24.04.10311-202405240010.deb
VERSION=$(echo $X64_URL | cut -d '-' -f 5)
./check_downloader.py xmind-vana $VERSION $X64_URL
./check_downloader.py xmind-vana $VERSION $X64_URL