e8b7dc9c26
As discussed in [NixOS/nixpkgs#281669](https://github.com/NixOS/nixpkgs/pull/281669#issuecomment-1899451746), it might be more beneficial to disable the update checker and prevent the users from being annoyed to update to a version that's not yet built in Nixpkgs. A builtin option for disabling the update checker does exist, however it's buried very deeply within Vesktop settings and normal users may not ever be aware of its existence — better to do it in Nixpkgs itself
12 lines
344 B
Diff
12 lines
344 B
Diff
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 {
|