mirror of
https://github.com/wcbing/wcbing-apt-repo.git
synced 2025-12-28 18:18:31 +08:00
fix
This commit is contained in:
parent
a3d545b570
commit
2f627e986a
@ -20,7 +20,8 @@ repo info json format:
|
|||||||
|
|
||||||
# get version info from repo
|
# get version info from repo
|
||||||
for i in github_info_list:
|
for i in github_info_list:
|
||||||
release_url = f"https://github.com/{i["repo"]}/releases/"
|
repo = i["repo"]
|
||||||
|
release_url = f"https://github.com/{repo}/releases/"
|
||||||
latest_req = requests.head(release_url + "latest")
|
latest_req = requests.head(release_url + "latest")
|
||||||
vversion = latest_req.headers["Location"].split("/")[-1] # v1.1.1
|
vversion = latest_req.headers["Location"].split("/")[-1] # v1.1.1
|
||||||
version = vversion[1:] # 1.1.1
|
version = vversion[1:] # 1.1.1
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "steam",
|
"name": "steam",
|
||||||
"repo": "https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages",
|
"repo": "https://repo.steampowered.com/steam/",
|
||||||
"amd64_path": "dists/stable/steam/binary-amd64/Packages"
|
"amd64_path": "dists/stable/steam/binary-amd64/Packages"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user