From 8aead2a53d88e77bf8fbf4a20fca435b7c2c087b Mon Sep 17 00:00:00 2001 From: wcbing Date: Tue, 3 Sep 2024 16:57:20 +0800 Subject: [PATCH] add xmind-vana --- README.md | 1 + get/xmind-vana.py | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 get/xmind-vana.py diff --git a/README.md b/README.md index 1d1bc51..85e997c 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ echo "deb [signed-by=/etc/apt/keyrings/wcbing.gpg] https://packages.wcbing.top/d |飞书|bytedance-feishu-stable|[官网](https://www.feishu.cn/download)| |termius|termius-app
termius-beta|官方仓库| |Sublime Text|sublime-text|[官网](https://www.sublimetext.com/download)| +|Xmind|xmind-vana|[官网](https://xmind.cn/download/)| ## 自行建立仓库 diff --git a/get/xmind-vana.py b/get/xmind-vana.py new file mode 100644 index 0000000..aedf9ae --- /dev/null +++ b/get/xmind-vana.py @@ -0,0 +1,10 @@ +import requests +from module.check import deb + +x64_deb_req = requests.head("https://xmind.cn/zen/download/linux_deb/") + +x64_deb_url = x64_deb_req.headers["Location"] +# https://dl3.xmind.cn/Xmind-for-Linux-amd64bit-24.04.10311-202405240010.deb +version = x64_deb_url.split("-")[-2] + +deb("xmind-vana", version, x64_deb_url)