Compare commits

..
16 Commits
Author SHA1 Message Date
name c87fd090db update readme 2022-02-05 15:36:36 +08:00
name 9d655033aa improve code 2022-02-05 15:10:41 +08:00
name 273b5e5403 Merge branch 'master' of tom-snow-github:tom-snow/wechat-windows-versions 2022-02-05 14:54:30 +08:00
name c063734731 fix bugs 2022-02-05 14:54:21 +08:00
tom-snow 1d698183ac Update notify.yml 2022-02-05 14:46:45 +08:00
name af02e9f09e Update notify.yml 2022-02-05 13:56:57 +08:00
tom-snow 74d526d839 Update notify.yml
fix not run when released
2022-02-05 13:31:00 +08:00
name cfba8ee7d4 add nofify 2022-02-05 13:26:03 +08:00
name 600787aca4 update readme 2022-02-04 14:54:49 +08:00
name 0e9ae88782 little fix 2022-02-04 00:45:05 +08:00
name 24538f4611 little fix 2022-02-04 00:34:03 +08:00
name de234b3d8c fix not login to gh 2022-02-04 00:29:37 +08:00
name f9f9f84f7f test Github Action and get Time 2022-02-04 00:08:14 +08:00
name 4c094d4c90 fix github action 2022-02-03 23:55:25 +08:00
name 3f96d2d1ed test github action 2022-02-03 23:52:04 +08:00
tom-snow 26f6b64be6 Initial commit 2022-01-29 18:55:35 +08:00
3 changed files with 5 additions and 15 deletions

No files matched your search

+1 -2
View File
@@ -15,5 +15,4 @@ jobs:
GHTOKEN: ${{ secrets.GHTOKEN }}
BOTTOKEN: ${{ secrets.BOTTOKEN }}
CHATIDS: ${{ secrets.CHATIDS }}
# run: bash -x ./scripts/notify.sh
run: echo "暂时弃用通知"
run: bash -x ./scripts/notify.sh
-4
View File
@@ -1,10 +1,6 @@
# wechat-windows-versions
收集 Windows 微信版本并保存
相关项目:
* [Mac微信收集](https://github.com/zsbai/wechat-versions)
* [WindowsX86 版本收集(目前仅含23年6月12日后的)](https://github.com/tom-snow/wechat-windows-versions-x86)
## 目录结构
```shell
├── README.md # 自述文件
+4 -9
View File
@@ -28,7 +28,7 @@ function login_gh() {
printf "#%.0s" {1..60}
echo
if [ -z $GHTOKEN ]; then
>&2 echo -e "\033[1;31mMissing Github Token! Please get a GHToken from 'Github Settings->Developer settings->Personal access tokens' and set it in Repo Secrect\033[0m"
>&2 echo -e "\033[1;31mMissing Github Token! Please get a BotToken from 'Github Settings->Developer settings->Personal access tokens' and set it in Repo Secrect\033[0m"
exit 1
fi
@@ -62,15 +62,10 @@ function extract_version() {
printf "#%.0s" {1..60}
echo
# old version
#local outfile=`7z l ${temp_path}/WeChatSetup.exe | grep improve.xml | awk 'NR ==1 { print $NF }'`
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'`
# 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'`
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'`
}