From 76a678af349586df778f7f3bb8c54a65bea8b671 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Thu, 10 Aug 2023 09:53:46 -0700 Subject: [PATCH] app: dont always show installer window on top now that it lives in the dock --- app/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/index.ts b/app/src/index.ts index 2f3d7ba0e..b137c745d 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -71,7 +71,6 @@ function firstRunWindow() { nodeIntegration: true, contextIsolation: false, }, - alwaysOnTop: true, }) require('@electron/remote/main').enable(welcomeWindow.webContents) @@ -237,13 +236,14 @@ app.on('window-all-closed', () => { // 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. +const aid = id() autoUpdater.setFeedURL({ - url: `https://ollama.ai/api/update?os=${process.platform}&arch=${process.arch}&version=${app.getVersion()}`, + url: `https://ollama.ai/api/update?os=${process.platform}&arch=${process.arch}&version=${app.getVersion()}&id=${aid}`, }) async function heartbeat() { analytics.track({ - anonymousId: id(), + anonymousId: aid, event: 'heartbeat', properties: { version: app.getVersion(),