Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6a25d4b0d | ||
|
|
eaab123c66 | ||
|
|
0a3722549f | ||
|
|
9ce119756f |
No files matched your search
@@ -15,4 +15,5 @@ jobs:
|
||||
GHTOKEN: ${{ secrets.GHTOKEN }}
|
||||
BOTTOKEN: ${{ secrets.BOTTOKEN }}
|
||||
CHATIDS: ${{ secrets.CHATIDS }}
|
||||
run: bash -x ./scripts/notify.sh
|
||||
# run: bash -x ./scripts/notify.sh
|
||||
run: echo "暂时弃用通知"
|
||||
@@ -1,6 +1,8 @@
|
||||
# wechat-windows-versions
|
||||
收集 Windows 微信版本并保存
|
||||
|
||||
相关项目: [Mac微信收集](https://github.com/zsbai/wechat-versions)
|
||||
|
||||
## 目录结构
|
||||
```shell
|
||||
├── README.md # 自述文件
|
||||
|
||||
@@ -62,10 +62,15 @@ function extract_version() {
|
||||
printf "#%.0s" {1..60}
|
||||
echo
|
||||
|
||||
local outfile=`7z l ${temp_path}/WeChatSetup.exe | grep improve.xml | awk 'NR ==1 { print $NF }'`
|
||||
# old version
|
||||
#local outfile=`7z l ${temp_path}/WeChatSetup.exe | grep improve.xml | awk 'NR ==1 { print $NF }'`
|
||||
## 7z x ${temp_path}/WeChatSetup.exe -o${temp_path}/temp "\$R5/Tencent/WeChat/improve.xml"
|
||||
7z x ${temp_path}/WeChatSetup.exe -o${temp_path}/temp $outfile
|
||||
dest_version=`awk '/MinVersion/{ print $2 }' ${temp_path}/temp/$outfile | sed -e 's/^.*="//g' -e 's/".*$//g'`
|
||||
#7z x ${temp_path}/WeChatSetup.exe -o${temp_path}/temp $outfile
|
||||
# dest_version=`awk '/MinVersion/{ print $2 }' ${temp_path}/temp/$outfile | sed -e 's/^.*="//g' -e 's/".*$//g'`
|
||||
|
||||
# new version
|
||||
7z x ${temp_path}/WeChatSetup.exe -o${temp_path}/temp
|
||||
dest_version=`ls -l ${temp_path}/temp | awk '{print $9}' | grep '^\[[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\]$' | sed -e 's/^\[//g' -e 's/\]$//g'`
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user