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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: make new_path mutable for Windows PATH injection in pi.rs
Louis Beaumont161ee725e0c4
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rsindex c54d0bf57..eec437b3d 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs@@ -1030,7 +1030,7 @@ pub async fn pi_start_inner(if let Some(bun_dir) = std::path::Path::new(&bun_path).parent() {let current_path = std::env::var("PATH").unwrap_or_default();let sep = if cfg!(windows) { ";" } else { ":" };- let new_path = format!("{}{}{}", bun_dir.display(), sep, current_path);+ let mut new_path = format!("{}{}{}", bun_dir.display(), sep, current_path);// On Windows, ensure bash is available for Pi's bash tool.// Downloads PortableGit on first use if no bash is found (~50MB, one-time).