add wechat arm64

This commit is contained in:
wcbing 2024-12-14 23:16:21 +08:00
parent f8f104af1b
commit b85da386c3
2 changed files with 10 additions and 2 deletions

View File

@ -42,7 +42,7 @@ curl -fsSL https://packages.wcbing.top/deb/del.sh | sudo sh
| [滴答清单](https://dida365.com/download) | dida | ✅ | ✅ |
| [向日葵](https://sunlogin.oray.com/download/linux) | sunloginclient<br />提取自 Debian 12 的依赖:<br />gconf2-common<br />libgconf-2-4 | ✅ | |
| [ToDesk](https://www.todesk.com/linux.html) | todesk | ✅ | |
| [微信](https://linux.weixin.qq.com/) | wechat | ✅ | |
| [微信](https://linux.weixin.qq.com/) | wechat | ✅ | |
> 临时收录软件会在仓库首页通知。

View File

@ -1,9 +1,17 @@
WEB_CONTENT=$(curl -s "https://linux.weixin.qq.com/")
X64_URL=$(echo $WEB_CONTENT | grep -o 'https:[0-9a-zA-Z/\._]*x86_64\.deb')
# X64
X64_URL=$(echo $WEB_CONTENT | grep -o 'https:[0-9a-zA-Z/\._]*x86_64\.deb')
Last_Modified=$(curl -sI $X64_URL | grep "Last-Modified")
# Last-Modified: Wed, 06 Nov 2024 02:08:50 GMT
VERSION=$(echo $Last_Modified | cut -d ' ' -f 3-6 | sed 's/ /-/g')
# 06-Nov-2024-02:08:50
./check_downloader.py wechat $VERSION $X64_URL
# ARM64
ARM64_URL=$(echo $WEB_CONTENT | grep -o 'https:[0-9a-zA-Z/\._]*arm64\.deb')
Last_Modified=$(curl -sI $ARM64_URL | grep "Last-Modified")
VERSION=$(echo $Last_Modified | cut -d ' ' -f 3-6 | sed 's/ /-/g')
./check_downloader.py wechat $VERSION $ARM64_URL arm64