■ ■ ■ ■ ■ ■ ■
.github/scripts/update-readme.py
| skipped 14 lines |
15 | 15 | | |
16 | 16 | | if __name__ == "__main__": |
17 | 17 | | version = command(["git", "describe", "--tags", "--abbrev=0"]) |
18 | | - | template = eval(open(".github/scripts/README.tmpl", "r").read()) |
| 18 | + | HEADER = '''[![Tweet](https://img.shields.io/twitter/url/http/Hktalent3135773.svg?style=social)](https://twitter.com/intent/follow?screen_name=Hktalent3135773) [![Follow on Twitter](https://img.shields.io/twitter/follow/Hktalent3135773.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=Hktalent3135773) [![GitHub Followers](https://img.shields.io/github/followers/hktalent.svg?style=social&label=Follow)](https://github.com/hktalent/)''' |
| 19 | + | END = '''# 交流群(微信、QQ、Tg) |
| 20 | + | | Wechat | Or | QQchat | Or | Tg | |
| 21 | + | | --- |--- |--- |--- |--- | |
| 22 | + | |<img width=166 src=https://github.com/hktalent/scan4all/blob/main/static/wcq.JPG>||<img width=166 src=https://github.com/hktalent/scan4all/blob/main/static/qqc.jpg>||<img width=166 src=https://github.com/hktalent/scan4all/blob/main/static/tg.jpg>| |
| 23 | + | |
| 24 | + | |
| 25 | + | ## 💖Star |
| 26 | + | [![Stargazers over time](https://starchart.cc/hktalent/scan4all.svg)](https://starchart.cc/hktalent/scan4all) |
| 27 | + | |
| 28 | + | # Donation |
| 29 | + | | Wechat Pay | AliPay | Paypal | BTC Pay |BCH Pay | |
| 30 | + | | --- | --- | --- | --- | --- | |
| 31 | + | |<img src=https://github.com/hktalent/myhktools/blob/master/md/wc.png>|<img width=166 src=https://github.com/hktalent/myhktools/blob/master/md/zfb.png>|[paypal](https://www.paypal.me/pwned2019) **[email protected]**|<img width=166 src=https://github.com/hktalent/myhktools/blob/master/md/BTC.png>|<img width=166 src=https://github.com/hktalent/myhktools/blob/master/md/BCH.jpg>| |
| 32 | + | ''' |
| 33 | + | template = HEADER + eval(open(".github/scripts/README.tmpl", "r").read()) + END |
19 | 34 | | |
20 | 35 | | print(template) |
21 | 36 | | f = open("README_CN.md", "w") |
| skipped 3 lines |