mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
change update link to point to download section (#2034)
This commit is contained in:
parent
28eae0667a
commit
0eaa80dd28
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue