about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ve/vesktop/disable_update_checking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/ve/vesktop/disable_update_checking.patch')
-rw-r--r--nixpkgs/pkgs/by-name/ve/vesktop/disable_update_checking.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/ve/vesktop/disable_update_checking.patch b/nixpkgs/pkgs/by-name/ve/vesktop/disable_update_checking.patch
new file mode 100644
index 000000000000..590951b675c0
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/ve/vesktop/disable_update_checking.patch
@@ -0,0 +1,12 @@
+diff --git a/src/updater/main.ts b/src/updater/main.ts
+index 059afb9..274802e 100644
+--- a/src/updater/main.ts
++++ b/src/updater/main.ts
+@@ -77,6 +77,7 @@ function isOutdated(oldVersion: string, newVersion: string) {
+ }
+ 
+ export async function checkUpdates() {
++    return;
+     if (Settings.store.checkUpdates === false) return;
+ 
+     try {