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: make new_path mutable for Windows PATH injection, bump app to v2.2.71

Louis Beaumont9ba3a6586d4b
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index e7e395a3a..fe451d9bf 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.2.70"
+version = "2.2.71"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
index 39073618f..3c05e22a6 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
@@ -1010,7 +1010,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).