diff options
Diffstat (limited to 'pkgs/by-name/ve/vesktop/disable_update_checking.patch')
-rw-r--r-- | pkgs/by-name/ve/vesktop/disable_update_checking.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/by-name/ve/vesktop/disable_update_checking.patch b/pkgs/by-name/ve/vesktop/disable_update_checking.patch new file mode 100644 index 0000000000000..590951b675c01 --- /dev/null +++ b/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 { |