mirror of
https://github.com/ollama/ollama.git
synced 2025-12-10 13:22:25 +01:00
Native implementation of macOS app
This commit is contained in:
9
scripts/run_darwin.sh
Executable file
9
scripts/run_darwin.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cp -R app/darwin/Ollama.app $TMPDIR/Ollama.app
|
||||
mkdir -p $TMPDIR/Ollama.app/Contents/Resources $TMPDIR/Ollama.app/Contents/MacOS
|
||||
go build -o $TMPDIR/Ollama.app/Contents/Resources/ollama .
|
||||
go build -C app -o $TMPDIR/Ollama.app/Contents/MacOS/Ollama .
|
||||
$TMPDIR/Ollama.app/Contents/MacOS/Ollama
|
||||
Reference in New Issue
Block a user