mirror of
https://github.com/ollama/ollama.git
synced 2025-04-08 03:48:21 +02:00
desktop: check for updates on first load
This commit is contained in:
parent
50aca43122
commit
9934ad77c0
@ -84,6 +84,7 @@ app.on('activate', () => {
|
||||
// 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.checkForUpdates()
|
||||
setInterval(() => {
|
||||
autoUpdater.checkForUpdates()
|
||||
}, 60000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user