add version
This commit is contained in:
parent
1358e27b77
commit
8b57e715a7
1 changed files with 4 additions and 2 deletions
|
@ -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() {
|
||||||
.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() {
|
||||||
analytics.track({
|
analytics.track({
|
||||||
anonymousId: id(),
|
anonymousId: id(),
|
||||||
event: 'heartbeat',
|
event: 'heartbeat',
|
||||||
|
properties: {
|
||||||
|
version: app.getVersion(),
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue