diff --git a/README.md b/README.md index accae55..8a65f53 100644 --- a/README.md +++ b/README.md @@ -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
提取自 Debian 12 的依赖:
gconf2-common
libgconf-2-4 | ✅ | | | [ToDesk](https://www.todesk.com/linux.html) | todesk | ✅ | | -| [微信](https://linux.weixin.qq.com/) | wechat | ✅ | | +| [微信](https://linux.weixin.qq.com/) | wechat | ✅ | ✅ | > 临时收录软件会在仓库首页通知。 diff --git a/get/wechat.sh b/get/wechat.sh index f050a37..608b016 100644 --- a/get/wechat.sh +++ b/get/wechat.sh @@ -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 \ No newline at end of file