wcbing-apt-repo/get/xmind-vana.sh
2024-11-22 00:04:45 +08:00

7 lines
283 B
Bash

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