nixpkgs/pkgs/games/anki/patches/disable-auto-update.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
439 B
Diff
Raw Normal View History

2023-11-01 12:50:18 +01:00
diff --git a/qt/aqt/main.py b/qt/aqt/main.py
index 6c634132d..f3f3d4d10 100644
--- a/qt/aqt/main.py
+++ b/qt/aqt/main.py
@@ -1421,6 +1421,8 @@ title="{}" {}>{}</button>""".format(
##########################################################################
def setup_auto_update(self, _log: list[DownloadLogEntry]) -> None:
+ return
+
from aqt.update import check_for_update
check_for_update()
--
2.42.0