From a009cade938216a3efebe70f42579cb8ee15bd2e Mon Sep 17 00:00:00 2001 From: Alexander Drozdov Date: Thu, 19 Mar 2020 13:47:50 +0200 Subject: [PATCH] disable mac updates --- src/main/updates.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/updates.ts b/src/main/updates.ts index f86376ab..a2e0cce9 100644 --- a/src/main/updates.ts +++ b/src/main/updates.ts @@ -25,6 +25,8 @@ autoUpdater.on('update-not-available', () => { }) export async function checkForUpdates (manual: boolean = false) { + if (process.platform === 'darwin') return + _manual = manual autoUpdater.checkForUpdatesAndNotify()