app: dont advance on error

This commit is contained in:
Jeffrey Morgan
2023-07-26 10:46:43 -04:00
parent dc642aa07d
commit c48f07f821
2 changed files with 10 additions and 10 deletions

View File

@@ -17,10 +17,5 @@ export async function install() {
symlinkPath
)} && ln -F -s ${ollama} ${symlinkPath}" with administrator privileges`
try {
await exec(`osascript -e '${command}'`)
} catch (error) {
console.error(`cli: failed to install cli: ${error.message}`)
return
}
await exec(`osascript -e '${command}'`)
}