Move Mac App to a new dir

This commit is contained in:
Daniel Hiltgen
2024-02-13 14:15:51 -08:00
committed by jmorganca
parent 42e77e2a69
commit 9da9e8fb72
32 changed files with 4 additions and 4 deletions

View File

@@ -24,13 +24,13 @@ fi
chmod +x dist/ollama
# build and optionally sign the mac app
npm install --prefix app
npm install --prefix macapp
if [ -n "$APPLE_IDENTITY" ]; then
npm run --prefix app make:sign
npm run --prefix macapp make:sign
else
npm run --prefix app make
npm run --prefix macapp make
fi
cp app/out/make/zip/darwin/universal/Ollama-darwin-universal-$VERSION.zip dist/Ollama-darwin.zip
cp macapp/out/make/zip/darwin/universal/Ollama-darwin-universal-$VERSION.zip dist/Ollama-darwin.zip
# sign the binary and rename it
if [ -n "$APPLE_IDENTITY" ]; then