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
9934ad77
Commit
9934ad77
authored
Jun 28, 2023
by
Jeffrey Morgan
Browse files
desktop: check for updates on first load
parent
50aca431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
desktop/src/index.ts
desktop/src/index.ts
+1
-0
No files found.
desktop/src/index.ts
View file @
9934ad77
...
@@ -84,6 +84,7 @@ app.on('activate', () => {
...
@@ -84,6 +84,7 @@ app.on('activate', () => {
// code. You can also put them in separate files and import them here.
// code. You can also put them in separate files and import them here.
autoUpdater
.
setFeedURL
({
url
:
`https://updates.ollama.ai/update/
${
process
.
platform
}
/
${
app
.
getVersion
()}
`
})
autoUpdater
.
setFeedURL
({
url
:
`https://updates.ollama.ai/update/
${
process
.
platform
}
/
${
app
.
getVersion
()}
`
})
autoUpdater
.
checkForUpdates
()
setInterval
(()
=>
{
setInterval
(()
=>
{
autoUpdater
.
checkForUpdates
()
autoUpdater
.
checkForUpdates
()
},
60000
)
},
60000
)
...
...
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