desktop: check for updates on first load
This commit is contained in:
parent
50aca43122
commit
9934ad77c0
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue