mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 00:07:07 +00:00
desktop: check for updates on first load
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user