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: apple ocr distribution

Louis Beaumont98cbb6c059ab
diff --git a/screenpipe-vision/build.rs b/screenpipe-vision/build.rs
index 2f7901e0e..2a14c61fd 100644
--- a/screenpipe-vision/build.rs
+++ b/screenpipe-vision/build.rs
@@ -1,15 +1,9 @@
use std::env;
-use std::path::PathBuf;
#[cfg(target_os = "macos")]
fn main() {
let destination = env::var("DESTINATION").unwrap_or_default();
- let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
- let lib_path = PathBuf::from(manifest_dir).join("lib");
-
- println!("cargo:rustc-link-search=native={}", lib_path.display());
-
if destination == "brew" {
println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib");
} else if destination == "tauri" {