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 Beaumont1fbfda268ee6
diff --git a/install.ps1 b/install.ps1
index f6fab5354..452d87872 100644
--- a/install.ps1
+++ b/install.ps1
@@ -33,11 +33,17 @@ try {
# Add to PATH if not already there
$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")
- if ($currentPath -notlike "*$installDir*") {
- [Environment]::SetEnvironmentVariable("Path", "$currentPath;$installDir", "User")
+ if ($currentPath -notlike "*$installDir\bin*") {
+ [Environment]::SetEnvironmentVariable("Path", "$currentPath;$installDir\bin", "User")
$env:Path = [Environment]::GetEnvironmentVariable("Path", "User")
}
+ # Verify installation
+ $binPath = Join-Path $installDir "bin\screenpipe.exe"
+ if (!(Test-Path $binPath)) {
+ throw "screenpipe.exe not found in $binPath after installation"
+ }
+
# Cleanup
Remove-Item $tempZip -Force