nixpkgs/pkgs/by-name/fl/flexoptix-app/disable-autoupdate.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
386 B
Diff
Raw Permalink Normal View History

--- 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);
}