Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: powershell

Louis Beaumontc5fde5e5d0d2
diff --git a/install.ps1 b/install.ps1
index 96901b802..f20fce23a 100644
--- a/install.ps1
+++ b/install.ps1
@@ -37,6 +37,7 @@ try {
Write-Host "screenpipe installed successfully! restart your terminal and run 'screenpipe'"
} catch {
- Write-Error "installation failed: $_"
- exit 1
+ Write-Host "installation failed: $($_.Exception.Message)" -ForegroundColor Red
+ # Exit with error code but don't propagate exception
+ [Environment]::Exit(1)
}
\ No newline at end of file