change update link to point to download section (#2034)

This commit is contained in:
wallgrenen 2022-08-31 10:35:53 +02:00 committed by GitHub
parent 28eae0667a
commit 0eaa80dd28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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: