summarylogtreecommitdiffstats
path: root/no-update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'no-update.patch')
-rw-r--r--no-update.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/no-update.patch b/no-update.patch
index 7a41ad13d3f5..7dc6228e2c68 100644
--- a/no-update.patch
+++ b/no-update.patch
@@ -1,11 +1,13 @@
+diff --git a/qt/aqt/update.py b/qt/aqt/update.py
+index 212ddf93d..6f716cc04 100644
--- a/qt/aqt/update.py
+++ b/qt/aqt/update.py
-@@ -33,6 +33,8 @@
- }
-
- def run(self) -> None:
-+ return
+@@ -11,6 +11,8 @@ from aqt.utils import openLink, show_warning, showText, tr
+
+
+ def check_for_update() -> None:
++ return
+
- if not self.config["updates"]:
- return
- d = self._data()
+ from aqt import mw
+
+ def do_check(_col: Collection) -> CheckForUpdateResponse: