app: fix #218 and keep dock open on install

This commit is contained in:
Jeffrey Morgan
2023-07-27 10:53:38 -04:00
parent 31673d26d0
commit dbb3174cbc
3 changed files with 12 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ export function installed() {
export async function install() {
const command = `do shell script "mkdir -p ${path.dirname(
symlinkPath
)} && ln -F -s ${ollama} ${symlinkPath}" with administrator privileges`
)} && ln -F -s \\"${ollama}\\" \\"${symlinkPath}\\"" with administrator privileges`
await exec(`osascript -e '${command}'`)
}