summarylogtreecommitdiffstats
path: root/disable-update-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'disable-update-check.patch')
-rw-r--r--disable-update-check.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/disable-update-check.patch b/disable-update-check.patch
index 15dfd0d3b3a3..449a44aa6c64 100644
--- a/disable-update-check.patch
+++ b/disable-update-check.patch
@@ -1,7 +1,7 @@
diff -ura package.orig/src/main.js package.new/src/main.js
---- package.orig/src/main.js 2019-10-30 00:09:52.833991579 +0100
-+++ package.new/src/main.js 2019-10-30 00:13:11.936926036 +0100
-@@ -393,22 +393,6 @@
+--- package.orig/src/main.js 2019-11-03 17:16:52.891370653 +0100
++++ package.new/src/main.js 2019-11-03 17:17:32.026472647 +0100
+@@ -390,20 +390,6 @@
});
});
@@ -16,9 +16,7 @@ diff -ura package.orig/src/main.js package.new/src/main.js
- );
- mainWindow.webContents.send("user:update-available");
- })
-- .catch(() => {
-- utils.log.debug("This is the latest version.");
-- });
+- .catch(() => {}); // Ignore errors, since this is non-essential
- });
-
mainWindow.loadURL(