Jeffrey Morgan 1 年間 前
コミット
8b57e715a7
1 ファイル変更4 行追加2 行削除
  1. 4 2
      app/src/index.ts

+ 4 - 2
app/src/index.ts

@@ -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(),
+    },
   })
   })
 }
 }