Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

only check for updates if packaged

Jeffrey Morgan7ee75e19ec11
diff --git a/app/src/index.ts b/app/src/index.ts
index c9d05837c..09d5010c9 100644
--- a/app/src/index.ts
+++ b/app/src/index.ts
@@ -135,10 +135,12 @@ autoUpdater.setFeedURL({
url: `https://ollama.ai/api/update?os=${process.platform}&arch=${process.arch}&version=${app.getVersion()}`,
})
-autoUpdater.checkForUpdates()
-setInterval(() => {
+if (app.isPackaged) {
autoUpdater.checkForUpdates()
-}, 60000)
+ setInterval(() => {
+ autoUpdater.checkForUpdates()
+ }, 60000)
+}
autoUpdater.on('error', e => {
console.error('update check failed', e)