Compare commits

..

2 Commits

Author SHA1 Message Date
7b98001cde add arm64 version of flclash 2025-05-01 10:18:34 +08:00
99a1d83459 refactor: repo structure 2025-04-14 16:23:18 +08:00
3 changed files with 5 additions and 4 deletions

View File

@ -51,7 +51,7 @@
| 软件名 | 包名 | amd64 | arm64 |
| ----- | ---- | ----- | ----- |
| [Clash Verge Rev](https://github.com/clash-verge-rev/clash-verge-rev) | clash-verge | ✅ | ✅ |
| [FlClash](https://github.com/chen08209/FlClash) | flclash | ✅ | |
| [FlClash](https://github.com/chen08209/FlClash) | flclash | ✅ | |
| [mihomo](https://github.com/MetaCubeX/mihomo) | mihomo | ✅ | ✅ |
| [hugo](https://github.com/gohugoio/hugo) | hugo | ✅ | ✅ |
| [RustDesk](https://github.com/rustdesk/rustdesk) | rustdesk | ✅ | ✅ |

View File

@ -16,7 +16,8 @@
"flclash": {
"repo": "chen08209/FlClash",
"file_list": {
"amd64": "FlClash-{version}-linux-amd64.deb"
"amd64": "FlClash-{version}-linux-amd64.deb",
"arm64": "FlClash-{version}-linux-arm64.deb"
}
},
"hugo": {

View File

@ -41,11 +41,11 @@ if __name__ == "__main__":
)
# get latest releases tag 获取最新版本标签
location = requests.head(release_url + "/latest").headers.get("Location", "")
match = re.search(r".*releases/tag/([^/]+)", location)
match = re.search(r".*releases/tag/(.*)", location)
if not match:
continue
releases_tag = match.group(1)
version = match.group() if (match := re.search("[0-9].*", releases_tag)) else ""
version = match.group() if (match := re.search("[0-9][^_]*", releases_tag)) else ""
for arch, file_name in repo["file_list"].items():