SHA256 compare fix

This commit is contained in:
Flowseal
2026-06-18 15:22:30 +03:00
parent 2afd80825b
commit 5bc5001c4d
2 changed files with 81 additions and 37 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ def _maybe_do_update(cfg: dict, is_exiting) -> None:
return
url = (st.get("html_url") or "").strip() or RELEASES_PAGE_URL
ver = st.get("latest") or "?"
asset = get_update_asset(Path(sys.executable)) if IS_FROZEN else None
asset = get_update_asset(Path(sys.executable), __version__) if IS_FROZEN else None
choice = update_ctk_form(
f"Доступна новая версия: {ver}",
download_url=asset[0] if asset else None,