Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
app: dont advance on error
Jeffrey Morganc48f07f8211b
diff --git a/app/src/app.tsx b/app/src/app.tsxindex 85557348c..ee16212af 100644--- a/app/src/app.tsx+++ b/app/src/app.tsx@@ -51,10 +51,15 @@ export default function () {<div className='mx-auto'><buttononClick={async () => {- await install()- getCurrentWindow().show()- getCurrentWindow().focus()- setStep(Step.FINISH)+ try {+ await install()+ setStep(Step.FINISH)+ } catch (e) {+ console.error('could not install: ', e)+ } finally {+ getCurrentWindow().show()+ getCurrentWindow().focus()+ }}}className='no-drag rounded-dm mx-auto w-[60%] rounded-md bg-black px-4 py-2 text-sm text-white hover:brightness-110'>diff --git a/app/src/install.ts b/app/src/install.tsindex e3486b777..24f2a7150 100644--- a/app/src/install.ts+++ b/app/src/install.ts@@ -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}'`)}