Compare commits

..
2 Commits
Author SHA1 Message Date
A lucky guy 9ce119756f Update README.md 2022-10-07 15:21:38 +08:00
name d3caf2afb6 清除历史提交,避免拉取仓库时包含历史安装包 2022-04-27 11:33:09 +08:00
2 changed files with 7 additions and 4 deletions

No files matched your search

+4 -1
View File
@@ -1,13 +1,16 @@
# wechat-windows-versions
收集 Windows 微信版本并保存
相关项目: [Mac微信收集](https://github.com/zsbai/wechat-versions)
## 目录结构
```shell
├── README.md # 自述文件
├── WeChatSetup # 微信安装包临时目录
│ └── temp # 临时目录
└── scripts # 脚本目录
└── destVersionRelease.sh # 获取安装包及取得版本号与 hash 值的脚本
├── destVersionRelease.sh # 获取安装包及取得版本号与 hash 值的脚本
└── notify.sh # 新release 时调用通知的脚本
```
## 说明
+3 -3
View File
@@ -4,17 +4,17 @@ set -eo pipefail
if [ -z $GHTOKEN ]; then
>&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"
>&2 echo -e "\033[1;31mMissing Github Token(GHTOKEN)! Please get a BotToken from 'Github Settings->Developer settings->Personal access tokens' and set it in Repo Secrect\033[0m"
exit 1
fi
if [ -z $BOTTOKEN ]; then
>&2 echo -e "\033[1;31mMissing Bot Token! Please get a BotToken from @Botfather on Telegram and set it in Repo Secrect\033[0m"
>&2 echo -e "\033[1;31mMissing Bot Token(BOTTOKEN)! Please get a BotToken from @Botfather on Telegram and set it in Repo Secrect\033[0m"
exit 2
fi
if [ -z $CHATIDS ]; then
>&2 echo -e "\033[1;31mMissing ChatIds! Please get ChatId from @GroupIDbot on Telegram Chats(Muti chatids split with comma ',') and set it in Repo Environment Values\033[0m"
>&2 echo -e "\033[1;31mMissing ChatIds(CHATIDS)! Please get ChatId from @GroupIDbot on Telegram Chats(Muti chatids split with comma ',') and set it in Repo Environment Values\033[0m"
exit 2
fi