1
0
Fork 0

Merge pull request #2014 from OniriCorpe/fix-autoupdate

fix latest_release_html_url assignement
This commit is contained in:
Tagada 2024-02-14 22:09:04 +01:00 committed by GitHub
commit b06e6dfd85

View file

@ -334,7 +334,7 @@ class AppAutoUpdater:
if ("gitea" in strategy or "forgejo" in strategy) and latest_assets == "": if ("gitea" in strategy or "forgejo" in strategy) and latest_assets == "":
# if empty (so only the base asset), take the tarball_url # if empty (so only the base asset), take the tarball_url
latest_assets = latest_release["tarball_url"] latest_assets = latest_release["tarball_url"]
if strategy == "_release": # get the release changelog link
latest_release_html_url = latest_release["html_url"] latest_release_html_url = latest_release["html_url"]
if asset == "tarball": if asset == "tarball":
latest_tarball = ( latest_tarball = (