Commit 8b57e715 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

add version

parent 1358e27b
...@@ -15,7 +15,6 @@ if (!SingleInstanceLock) { ...@@ -15,7 +15,6 @@ if (!SingleInstanceLock) {
} }
const createSystemtray = () => { const createSystemtray = () => {
let iconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_16x16Template.png') let iconPath = path.join(__dirname, '..', '..', 'assets', 'ollama_icon_16x16Template.png')
if (app.isPackaged) { if (app.isPackaged) {
...@@ -84,7 +83,7 @@ function installCLI() { ...@@ -84,7 +83,7 @@ function installCLI() {
.showMessageBox({ .showMessageBox({
type: 'info', type: 'info',
title: 'Ollama CLI installation', 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'], buttons: ['OK'],
}) })
.then(result => { .then(result => {
...@@ -167,6 +166,9 @@ async function heartbeat() { ...@@ -167,6 +166,9 @@ async function heartbeat() {
analytics.track({ analytics.track({
anonymousId: id(), anonymousId: id(),
event: 'heartbeat', event: 'heartbeat',
properties: {
version: app.getVersion(),
},
}) })
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment