use newer client version in update script

This commit is contained in:
Max Headroom 2024-12-25 22:43:59 +01:00
parent c3108f4c4a
commit 396270086c

View file

@ -35,7 +35,7 @@ for ext in exts:
ext["sha256"] = sha256.hexdigest().lower()
ext["version"] = latest["tag_name"].lstrip("v")
elif ext["updateMethod"] == "google":
resp = urlopen(f"https://clients2.google.com/service/update2/crx?response=updatecheck&acceptformat=crx2,crx3&prodversion=89.0.0.0&x=id%3D{ext['id']}%26uc")
resp = urlopen(f"https://clients2.google.com/service/update2/crx?response=updatecheck&acceptformat=crx2,crx3&prodversion=130.0.0.0&x=id%3D{ext['id']}%26uc")
xml = resp.read()
xmltree = ET.fromstring(xml)
app = xmltree.find("{http://www.google.com/update2/response}app").find("{http://www.google.com/update2/response}updatecheck")