From 0eaa80dd283d5d1a7b4dbfbc9bb61b64b057a8a8 Mon Sep 17 00:00:00 2001 From: wallgrenen <58621059+wallgrenen@users.noreply.github.com> Date: Wed, 31 Aug 2022 10:35:53 +0200 Subject: [PATCH] change update link to point to download section (#2034) --- qt/aqt/__init__.py | 1 + qt/aqt/update.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qt/aqt/__init__.py b/qt/aqt/__init__.py index a6cdd9b20..47a8a0feb 100644 --- a/qt/aqt/__init__.py +++ b/qt/aqt/__init__.py @@ -66,6 +66,7 @@ except AttributeError: appVersion = _version appWebsite = "https://apps.ankiweb.net/" +appWebsiteDownloadSection = "https://apps.ankiweb.net/#download" appDonate = "https://apps.ankiweb.net/support/" appShared = "https://ankiweb.net/shared/" appUpdate = "https://ankiweb.net/update/desktop" diff --git a/qt/aqt/update.py b/qt/aqt/update.py index fbcd5fcbd..64509764b 100644 --- a/qt/aqt/update.py +++ b/qt/aqt/update.py @@ -70,7 +70,7 @@ def askAndUpdate(mw: aqt.AnkiQt, ver: str) -> None: # ignore this update mw.pm.meta["suppressUpdate"] = ver elif ret == QMessageBox.StandardButton.Yes: - openLink(aqt.appWebsite) + openLink(aqt.appWebsiteDownloadSection) def showMessages(mw: aqt.AnkiQt, data: dict) -> None: