From d45f89b63affe4cefea1af2e50be56fd29fa71a8 Mon Sep 17 00:00:00 2001 From: wcbing Date: Sat, 12 Apr 2025 00:30:44 +0800 Subject: [PATCH] add tdappdesktop --- README.md | 1 + get/tdappdesktop.sh | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 get/tdappdesktop.sh diff --git a/README.md b/README.md index 8cbcba5..2298de3 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ | [QQ](https://im.qq.com/linuxqq/) | linuxqq | ✅ | ✅ | | [QQ音乐](https://y.qq.com/download/download.html) | qqmusic | ✅ | | | [腾讯会议](https://meeting.tencent.com/download/) | wemeet | ✅ | ✅ | +| [腾讯文档](https://docs.qq.com/home/download) | tdappdesktop | ✅ | ✅ | | [百度网盘](https://pan.baidu.com/download) | baidunetdisk | ✅ | | | [钉钉](https://www.dingtalk.com/download/) | com.alibabainc.dingtalk | ✅ | ✅ | | [飞书](https://www.feishu.cn/download) | bytedance-feishu-stable | ✅ | | diff --git a/get/tdappdesktop.sh b/get/tdappdesktop.sh new file mode 100644 index 0000000..1f02868 --- /dev/null +++ b/get/tdappdesktop.sh @@ -0,0 +1,10 @@ +# 参考 https://github.com/SpecterShell/Dumplings/blob/main/Tasks/Tencent.TencentDocs/Script.ps1 + +VERSION=$(curl -fs https://docs.qq.com/api/packageupgrade/update_manual | sed 's/.*"version\\\": \\\"\([0-9.]*\).*/\1/') +BASE_URL="https://desktop.docs.qq.com/update/release/$VERSION/" + +AMD64_URL="$BASE_URL"$(curl -fs "$BASE_URL"latest-linux.yml | grep '^path' | cut -d ' ' -f 2) +./check_downloader.py tdappdesktop $VERSION $AMD64_URL amd64 + +ARM64_URL="$BASE_URL"$(curl -fs "$BASE_URL"latest-linux-arm64.yml | grep '^path' | cut -d ' ' -f 2) +./check_downloader.py tdappdesktop $VERSION $ARM64_URL arm64 \ No newline at end of file