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: windows + tesseract
Louis Beaumontb1bc84ae1478
diff --git a/Cargo.toml b/Cargo.tomlindex ea549ea45..a98e7b4cc 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -4,11 +4,11 @@ members = ["screenpipe-vision","screenpipe-audio","screenpipe-server",-+ "examples/apps/screenpipe-app-tauri/src-tauri",+ "examples/apps/screenpipe-app-dioxus",]exclude = [- "examples/apps/screenpipe-app-tauri/src-tauri",- "examples/apps/screenpipe-app-dioxus",+]resolver = "2"diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rsindex 730c641fe..f78057052 100755--- a/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs+++ b/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs@@ -8,6 +8,7 @@ use tauri::Config;use tauri_plugin_shell::ShellExt;use serde_json::Value;+use std::env;use std::fs::File;use std::io::Write;@@ -129,10 +130,7 @@ async fn main() {.setup(move |app| {// run this on windows onlyif cfg!(windows) {- let app_dir = app- .path_resolver()- .app_dir()- .expect("Failed to get app dir");+ let app_dir = app.path().executable_dir().expect("Failed to get app dir");let tessdata_path = app_dir.join("tessdata");env::set_var("TESSDATA_PREFIX", tessdata_path);// ! hopefully it passes to CLI too