From c1b08a9f3d2503e2b04577671443614901d2d824 Mon Sep 17 00:00:00 2001 From: AlphaX-Projects <77661270+AlphaX-Projects@users.noreply.github.com> Date: Tue, 1 Mar 2022 10:24:06 +0100 Subject: [PATCH] Check every 15 minutes for update, not only on startup --- electron.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electron.js b/electron.js index d9a76a37..ada8e2ff 100644 --- a/electron.js +++ b/electron.js @@ -105,7 +105,9 @@ if (!isLock) { if (process.platform === 'win32') { app.setAppUserModelId("org.qortal.QortalUI"); } - autoUpdater.checkForUpdatesAndNotify(); + setInterval(() => { + autoUpdater.checkForUpdatesAndNotify(); + }, 1000 * 60 * 15) }) app.on('window-all-closed', function () { if (process.platform !== 'darwin') {