release: sync public installer asset install.sh

This commit is contained in:
2026-09-04 08:04:56 +00:00
parent 725ac1771c
commit 8627bce58d
+1 -1
View File
@@ -308,7 +308,7 @@ except ValueError: raise SystemExit(1)
if (parsed.scheme != 'https' or parsed.netloc.lower() != 'git.keeper.work' or
parsed.username is not None or parsed.password is not None or port is not None or
parsed.query or parsed.fragment or '%' in (parsed.path or '') or
re.fullmatch(r'/api/packages/[^/]+/generic/[^/]+/[^/]+/[^/]+', parsed.path or '') is None):
re.fullmatch(r'/api/packages/[^/]+/generic/[^/]+/[A-Za-z0-9][A-Za-z0-9.-]*-[0-9a-fA-F]{12}(?:-[a-z0-9][a-z0-9-]{5,80})?/[^/]+', parsed.path or '') is None):
raise SystemExit(1)
print(e['version'], e['asset_url'], e['sha256'].lower(), sep='\t')
PY