use newer client version in update script
This commit is contained in:
parent
c3108f4c4a
commit
396270086c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ for ext in exts:
|
||||||
ext["sha256"] = sha256.hexdigest().lower()
|
ext["sha256"] = sha256.hexdigest().lower()
|
||||||
ext["version"] = latest["tag_name"].lstrip("v")
|
ext["version"] = latest["tag_name"].lstrip("v")
|
||||||
elif ext["updateMethod"] == "google":
|
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()
|
xml = resp.read()
|
||||||
xmltree = ET.fromstring(xml)
|
xmltree = ET.fromstring(xml)
|
||||||
app = xmltree.find("{http://www.google.com/update2/response}app").find("{http://www.google.com/update2/response}updatecheck")
|
app = xmltree.find("{http://www.google.com/update2/response}app").find("{http://www.google.com/update2/response}updatecheck")
|
||||||
|
|
Loading…
Reference in a new issue