mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-12 00:37:04 +00:00
update app to use go binary
This commit is contained in:
@@ -43,9 +43,9 @@ if (app.isPackaged) {
|
||||
console.log(resources)
|
||||
|
||||
// Start the executable
|
||||
const exec = path.join(resources, 'ollama', 'ollama')
|
||||
const exec = path.join(resources, 'ollama')
|
||||
console.log(`Starting ${exec}`)
|
||||
const proc = spawn(exec, ['serve', '--port', '7734'])
|
||||
const proc = spawn(exec, ['serve'])
|
||||
proc.stdout.on('data', data => {
|
||||
console.log(`server: ${data}`)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user