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
f482d80c
Commit
f482d80c
authored
Jun 27, 2023
by
Jeffrey Morgan
Browse files
desktop: check hourly for updates
parent
1459ffc9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
desktop/src/index.ts
desktop/src/index.ts
+4
-0
No files found.
desktop/src/index.ts
View file @
f482d80c
...
@@ -83,3 +83,7 @@ app.on('activate', () => {
...
@@ -83,3 +83,7 @@ app.on('activate', () => {
// In this file you can include the rest of your app's specific main process
// In this file you can include the rest of your app's specific main process
// 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
()}
`
})
setInterval
(()
=>
{
autoUpdater
.
checkForUpdates
()
},
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