mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-29 02:28:30 +08:00
Compare commits
2 Commits
3d6a1905cc
...
7b98001cde
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b98001cde | |||
| 99a1d83459 |
@ -51,7 +51,7 @@
|
|||||||
| 软件名 | 包名 | amd64 | arm64 |
|
| 软件名 | 包名 | amd64 | arm64 |
|
||||||
| ----- | ---- | ----- | ----- |
|
| ----- | ---- | ----- | ----- |
|
||||||
| [Clash Verge Rev](https://github.com/clash-verge-rev/clash-verge-rev) | clash-verge | ✅ | ✅ |
|
| [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 | ✅ | ✅ |
|
| [mihomo](https://github.com/MetaCubeX/mihomo) | mihomo | ✅ | ✅ |
|
||||||
| [hugo](https://github.com/gohugoio/hugo) | hugo | ✅ | ✅ |
|
| [hugo](https://github.com/gohugoio/hugo) | hugo | ✅ | ✅ |
|
||||||
| [RustDesk](https://github.com/rustdesk/rustdesk) | rustdesk | ✅ | ✅ |
|
| [RustDesk](https://github.com/rustdesk/rustdesk) | rustdesk | ✅ | ✅ |
|
||||||
|
|||||||
@ -16,7 +16,8 @@
|
|||||||
"flclash": {
|
"flclash": {
|
||||||
"repo": "chen08209/FlClash",
|
"repo": "chen08209/FlClash",
|
||||||
"file_list": {
|
"file_list": {
|
||||||
"amd64": "FlClash-{version}-linux-amd64.deb"
|
"amd64": "FlClash-{version}-linux-amd64.deb",
|
||||||
|
"arm64": "FlClash-{version}-linux-arm64.deb"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hugo": {
|
"hugo": {
|
||||||
|
|||||||
@ -41,11 +41,11 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
# get latest releases tag 获取最新版本标签
|
# get latest releases tag 获取最新版本标签
|
||||||
location = requests.head(release_url + "/latest").headers.get("Location", "")
|
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:
|
if not match:
|
||||||
continue
|
continue
|
||||||
releases_tag = match.group(1)
|
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():
|
for arch, file_name in repo["file_list"].items():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user