From 6479cd7a76660256abc5714d4d6e3c7a294f88a4 Mon Sep 17 00:00:00 2001 From: nthouliss Date: Thu, 30 Mar 2023 13:20:22 +1100 Subject: [PATCH] Revert "Remove auto-updater" This reverts commit 76a49cbe6352547b9780191dc388b294a0215440. --- src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.ts b/src/index.ts index d2b17c84..20f0b0cd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -74,6 +74,10 @@ const createWindow = (): void => { }); saveWindowBounds(mainWindow); + + if (app.isPackaged) { + runAutoUpdate(mainWindow); + } }; const spoofUserAgent = () => {