update app to use go binary

This commit is contained in:
Jeffrey Morgan
2023-07-06 11:21:56 -04:00
parent 9fe018675f
commit 879e996ca4
4 changed files with 5 additions and 5 deletions

View File

@@ -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}`)
})