Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
8b57e715
Commit
8b57e715
authored
Jul 07, 2023
by
Jeffrey Morgan
Browse files
add version
parent
1358e27b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
app/src/index.ts
app/src/index.ts
+4
-2
No files found.
app/src/index.ts
View file @
8b57e715
...
...
@@ -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
(),
},
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment