From 0bf893b19a608746b73de83ecf2d93156b24141e Mon Sep 17 00:00:00 2001 From: wasimysaid Date: Mon, 27 Apr 2026 07:34:10 +0200 Subject: [PATCH] Scope setup failure exit to Tauri installer --- install.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.ps1 b/install.ps1 index c1b19190f8..4406c3ab29 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1066,7 +1066,10 @@ shell.Run cmd, 0, False if ($setupExit -ne 0) { Write-TauriLog "ERROR" "unsloth studio setup failed (exit code $setupExit)" Write-Host "[ERROR] unsloth studio setup failed (exit code $setupExit)" -ForegroundColor Red - exit $setupExit + if ($TauriMode) { + exit $setupExit + } + return } # ── Expose `unsloth` via a shim dir containing only unsloth.exe ──