desktop: check hourly for updates
This commit is contained in:
parent
1459ffc9f3
commit
f482d80cf4
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue