nixpkgs/pkgs/by-name/fl/flexoptix-app/disable-autoupdate.patch
2025-08-11 16:17:36 +02:00

13 lines
386 B
Diff

--- app/node_modules/electron-updater/out/AppUpdater.js
+++ app/node_modules/electron-updater/out/AppUpdater.js
@@ -211,6 +211,9 @@
* Asks the server whether there is an update.
*/
checkForUpdates() {
+ this.emit("update-not-available", null);
+ return true;
+
if (!this.isUpdaterActive()) {
return Promise.resolve(null);
}