fix if
This commit is contained in:
parent
19c9569700
commit
b9dd575b91
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ class AppAutoUpdater:
|
||||||
|
|
||||||
print(f"\n Checking {source} ...")
|
print(f"\n Checking {source} ...")
|
||||||
|
|
||||||
if strategy == "latest_github_release":
|
if strategy == "latest_github_release" & asset != "tarball":
|
||||||
(
|
(
|
||||||
new_version,
|
new_version,
|
||||||
new_asset_urls,
|
new_asset_urls,
|
||||||
|
@ -229,7 +229,7 @@ class AppAutoUpdater:
|
||||||
return bool(todos)
|
return bool(todos)
|
||||||
|
|
||||||
if "main" in todos:
|
if "main" in todos:
|
||||||
if strategy == "latest_github_release":
|
if strategy == "latest_github_release" & asset != "tarball":
|
||||||
message = f"Upgrade to v{new_version}\nChangelog: {changelog_url}"
|
message = f"Upgrade to v{new_version}\nChangelog: {changelog_url}"
|
||||||
else:
|
else:
|
||||||
message = f"Upgrade to v{new_version}"
|
message = f"Upgrade to v{new_version}"
|
||||||
|
|
Loading…
Reference in a new issue