mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-07-23 09:40:03 +00:00
desktop: add auto update url
This commit is contained in:
parent
a3b87c836d
commit
582036bac0
@ -1,4 +1,4 @@
|
|||||||
import { app, BrowserWindow, ipcMain, dialog } from 'electron'
|
import { app, BrowserWindow, autoUpdater } from 'electron'
|
||||||
import { spawn } from 'child_process'
|
import { spawn } from 'child_process'
|
||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
|
|
||||||
@ -82,3 +82,4 @@ 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()}` })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user