mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-29 02:28:30 +08:00
Compare commits
1 Commits
7b98001cde
...
3d6a1905cc
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d6a1905cc |
@ -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 | ✅ | ✅ |
|
||||
|
||||
@ -16,8 +16,7 @@
|
||||
"flclash": {
|
||||
"repo": "chen08209/FlClash",
|
||||
"file_list": {
|
||||
"amd64": "FlClash-{version}-linux-amd64.deb",
|
||||
"arm64": "FlClash-{version}-linux-arm64.deb"
|
||||
"amd64": "FlClash-{version}-linux-amd64.deb"
|
||||
}
|
||||
},
|
||||
"hugo": {
|
||||
|
||||
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user