From 8b57e715a763b6234053d5b33ddd98db82bc7ae0 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Fri, 7 Jul 2023 13:44:36 -0400 Subject: [PATCH] add version --- app/src/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/index.ts b/app/src/index.ts index 268fed29..e2cf847e 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -15,7 +15,6 @@ if (!SingleInstanceLock) { } const createSystemtray = () => { - let iconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_16x16Template.png') if (app.isPackaged) { @@ -84,7 +83,7 @@ function installCLI() { .showMessageBox({ type: 'info', title: 'Ollama CLI installation', - message: 'To make the Ollama command line work in your terminal, it needs administrator privileges.', + message: 'To make the Ollama command work in your terminal, it needs administrator privileges.', buttons: ['OK'], }) .then(result => { @@ -167,6 +166,9 @@ async function heartbeat() { analytics.track({ anonymousId: id(), event: 'heartbeat', + properties: { + version: app.getVersion(), + }, }) }