refactor: do not exit on script finish

This commit is contained in:
Bjarke Sporring
2026-01-14 16:57:23 +01:00
parent 14cfc2feeb
commit 7066e648d5

View File

@@ -254,7 +254,7 @@ Write-Step "Checking Prerequisites"
if (-not (Test-WingetAvailable)) { if (-not (Test-WingetAvailable)) {
Write-Host "`nInstallation cannot continue without winget." -ForegroundColor Red Write-Host "`nInstallation cannot continue without winget." -ForegroundColor Red
exit 1 return
} }
Write-Success "winget is available" Write-Success "winget is available"
@@ -630,9 +630,4 @@ else {
Write-Host "" Write-Host ""
} }
exit 1
} }
#endregion
exit 0