Skip to content

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

hourly heartbeat

Jeffrey Morgan660dee700529
diff --git a/app/src/index.ts b/app/src/index.ts
index 5db19198f..8b571a388 100644
--- a/app/src/index.ts
+++ b/app/src/index.ts
@@ -8,8 +8,7 @@ import { analytics, id } from './telemetry'
require('@electron/remote/main').initialize()
-
-const store = new Store();
+const store = new Store()
let tray: Tray | null = null
const SingleInstanceLock = app.requestSingleInstanceLock()
@@ -26,9 +25,7 @@ const createSystemtray = () => {
tray = new Tray(iconPath)
- const contextMenu = Menu.buildFromTemplate([
- { role: 'quit', label: 'Quit Ollama', accelerator: 'Command+Q' }
- ])
+ const contextMenu = Menu.buildFromTemplate([{ role: 'quit', label: 'Quit Ollama', accelerator: 'Command+Q' }])
tray.setContextMenu(contextMenu)
tray.setToolTip('Ollama')
@@ -115,7 +112,7 @@ app.on('ready', () => {
if (!store.has('first-time-run')) {
// This is the first run
app.setLoginItemSettings({ openAtLogin: true })
- store.set('first-time-run', false);
+ store.set('first-time-run', false)
} else {
// The app has been run before
app.setLoginItemSettings({ openAtLogin: app.getLoginItemSettings().openAtLogin })
@@ -194,7 +191,7 @@ if (app.isPackaged) {
setInterval(() => {
heartbeat()
autoUpdater.checkForUpdates()
- }, 60000)
+ }, 60 * 60 * 1000)
}
autoUpdater.on('error', e => {