mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 00:07:07 +00:00
add version
This commit is contained in:
@@ -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(),
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user