From 27e4f4ed8d16b6ca22ec9359f7f9d649a6bc1c2e Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Tue, 28 Jul 2020 16:07:11 -0700 Subject: [PATCH] fix: Don't query updates on Linux --- src/main/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/update.js b/src/main/update.js index 1a11172..699943c 100644 --- a/src/main/update.js +++ b/src/main/update.js @@ -1,7 +1,7 @@ const { app } = require("electron"); function setupUpdates() { - if (app.isPackaged) { + if (app.isPackaged && process.platform !== 'linux') { require("update-electron-app")({ repo: "felixrieseberg/macintosh.js", updateInterval: "1 hour",