add tdappdesktop

This commit is contained in:
wcbing 2025-04-12 00:30:44 +08:00
parent e1c2a78346
commit d45f89b63a
2 changed files with 11 additions and 0 deletions

View File

@ -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 | ✅ | |

10
get/tdappdesktop.sh Normal file
View File

@ -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