From 9934ad77c0f59dcd9c22b9bfd0512beb780d8733 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Wed, 28 Jun 2023 09:14:50 -0400 Subject: [PATCH] desktop: check for updates on first load --- desktop/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/src/index.ts b/desktop/src/index.ts index 26cd6784..ccc658b3 100644 --- a/desktop/src/index.ts +++ b/desktop/src/index.ts @@ -84,6 +84,7 @@ app.on('activate', () => { // 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()}` }) +autoUpdater.checkForUpdates() setInterval(() => { autoUpdater.checkForUpdates() }, 60000)