From f482d80cf41589eaf493cb4009ff951aaff5f447 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Tue, 27 Jun 2023 17:50:50 -0400 Subject: [PATCH] desktop: check hourly for updates --- desktop/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desktop/src/index.ts b/desktop/src/index.ts index 81b1ddac..77e7b82a 100644 --- a/desktop/src/index.ts +++ b/desktop/src/index.ts @@ -83,3 +83,7 @@ app.on('activate', () => { // In this file you can include the rest of your app's specific main process // code. You can also put them in separate files and import them here. autoUpdater.setFeedURL({ url: `https://updates.ollama.ai/update/${process.platform}/${app.getVersion()}` }) + +setInterval(() => { + autoUpdater.checkForUpdates() +}, 60000)