From 05fd54e5b13678a94d20beee643ab7804f06cb16 Mon Sep 17 00:00:00 2001 From: aandrew-me Date: Sun, 18 Sep 2022 22:29:05 +0600 Subject: [PATCH] Change autoupdate settings --- main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 2f28ec6..5906fee 100644 --- a/main.js +++ b/main.js @@ -27,7 +27,9 @@ function createWindow() { // win.setMenu(null) win.show(); // win.webContents.openDevTools(); - autoUpdater.checkForUpdates(); + if (process.platform !== "darwin"){ + autoUpdater.checkForUpdates(); + } } app.whenReady().then(() => {