Skip to content

Commit 61072d6

Browse files
committed
Fix updater remote changelog selection
1 parent efeb4aa commit 61072d6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

util/updater.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242

4343
GITHUB_API_VERSION = "2026-03-10"
44+
FUTURE_CHANGELOG_URL = "https://raw.githubusercontent.com/codefl0w/QuickADB/refs/heads/main/res/whatsnew.html"
4445

4546

4647
def _format_size(num_bytes: int) -> str:
@@ -143,8 +144,8 @@ def _headers(self) -> dict[str, str]:
143144
def _fetch_remote_changelog(self, release_version: str) -> str:
144145
if "{ref}" in self.changelog_url_template:
145146
candidate_urls = [
147+
FUTURE_CHANGELOG_URL,
146148
self.changelog_url_template.format(ref=release_version),
147-
self.changelog_url_template.format(ref="refs/heads/main"),
148149
]
149150
else:
150151
candidate_urls = [self.changelog_url_template]

0 commit comments

Comments
 (0)