Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

app: create `/usr/local/bin/` if it does not exist

Jeffrey Morgan4c1dc52083d5
diff --git a/app/src/install.ts b/app/src/install.ts
index c08aff593..e3486b777 100644
--- a/app/src/install.ts
+++ b/app/src/install.ts
@@ -13,7 +13,9 @@ export function installed() {
}
export async function install() {
- const command = `do shell script "ln -F -s ${ollama} ${symlinkPath}" with administrator privileges`
+ const command = `do shell script "mkdir -p ${path.dirname(
+ symlinkPath
+ )} && ln -F -s ${ollama} ${symlinkPath}" with administrator privileges`
try {
await exec(`osascript -e '${command}'`)