summarylogtreecommitdiffstats
path: root/remove-update-check.patch
blob: 6bd23c1cb42af6417ef9023b97401d2af02afbdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -ura package.orig/src/html/scripts/ui.pug package.new/src/html/scripts/ui.pug
--- package.orig/src/html/scripts/ui.pug	2019-03-23 21:06:10.110844584 +0100
+++ package.new/src/html/scripts/ui.pug	2019-03-23 21:17:27.400580327 +0100
@@ -224,18 +224,3 @@
   if (process.platform === "win32") {
     modals.show('windows-drivers');
   }
-
-  utils.getUpdateAvailable().then((updateAvailable) => {
-    if(updateAvailable) {
-      utils.log.warn("This is not the latest stable release!")
-      if (utils.isSnap()) {
-        $("#snap-update-instructions").show();
-        $("#btn-update-installer").hide();
-      } else {
-        $("#generic-update-instructions").show();
-      }
-      modals.show('new-update');
-    } else {
-      utils.log.debug("Running latest stable version.");
-    }
-  });