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 brew

Louis Beaumontfcac2d836df9
diff --git a/Cargo.toml b/Cargo.toml
index 5357da6ef..1278a6a4d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@ resolver = "2"
[workspace.package]
-version = "0.1.52"
+version = "0.1.53"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/louis030195/screen-pipe"
diff --git a/screenpipe-vision/build.rs b/screenpipe-vision/build.rs
index 032fe57b6..de61af8ff 100644
--- a/screenpipe-vision/build.rs
+++ b/screenpipe-vision/build.rs
@@ -7,6 +7,10 @@ fn main() {
// Set the rpath
println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib");
+ println!("cargo:rustc-link-arg=-Wl,-rpath,@loader_path/../lib");
+
+ // Ensure the linker uses the correct library name
+ println!("cargo:rustc-link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib");
}
#[cfg(not(target_os = "macos"))]