Scope setup failure exit to Tauri installer
This commit is contained in:
parent
b3ed1af1a8
commit
0bf893b19a
1 changed files with 4 additions and 1 deletions
|
|
@ -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 ──
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue