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

feat: add option to disable screen recording in app ui

Louis Beaumont19c867d88421
diff --git a/screenpipe-app-tauri/src-tauri/src/sidecar.rs b/screenpipe-app-tauri/src-tauri/src/sidecar.rs
index f398a9d36..f98e3c493 100644
--- a/screenpipe-app-tauri/src-tauri/src/sidecar.rs
+++ b/screenpipe-app-tauri/src-tauri/src/sidecar.rs
@@ -378,6 +378,15 @@ fn spawn_sidecar(app: &tauri::AppHandle) -> Result<CommandChild, String> {
args.push(realtime_audio_transcription_engine.as_str());
}
+ let disable_vision = store
+ .get("disableVision")
+ .and_then(|v| v.as_bool())
+ .unwrap_or(false);
+
+ if disable_vision {
+ args.push("--disable-vision");
+ }
+
// args.push("--debug");
if cfg!(windows) {