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: cli brew

Louis Beaumontafef0e40431d
diff --git a/.gitignore b/.gitignore
index 3a961b56b..ba73eeafe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,5 +28,5 @@ text_json/
examples/typescript/vercel-ai-chatbot/package-lock.json
# Unignore
-!screenpipe-vision/lib/libscreenpipe.dylib
+!screenpipe-vision/lib/libscreenpipe*.dylib
diff --git a/Cargo.toml b/Cargo.toml
index 3938e1c66..ee030e47c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@ resolver = "2"
[workspace.package]
-version = "0.1.54"
+version = "0.1.56"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/louis030195/screen-pipe"
diff --git a/screenpipe-vision/build.rs b/screenpipe-vision/build.rs
new file mode 100644
index 000000000..e128489e7
--- /dev/null
+++ b/screenpipe-vision/build.rs
@@ -0,0 +1,10 @@
+#[cfg(target_os = "macos")]
+fn main() {
+ println!("cargo:rustc-link-lib=dylib=screenpipe");
+
+ // Add the library search path
+ println!("cargo:rustc-link-search=native=screenpipe-vision/lib");
+}
+
+#[cfg(not(target_os = "macos"))]
+fn main() {}
diff --git a/screenpipe-vision/lib/libscreenpipe.dylib b/screenpipe-vision/lib/libscreenpipe.dylib
deleted file mode 100755
index 7c040ddbc..000000000
Binary files a/screenpipe-vision/lib/libscreenpipe.dylib and /dev/null differ
diff --git a/screenpipe-vision/lib/libscreenpipe_arm64.dylib b/screenpipe-vision/lib/libscreenpipe_arm64.dylib
new file mode 100755
index 000000000..9b9a5d0e9
Binary files /dev/null and b/screenpipe-vision/lib/libscreenpipe_arm64.dylib differ
diff --git a/screenpipe-vision/lib/libscreenpipe_x86_64.dylib b/screenpipe-vision/lib/libscreenpipe_x86_64.dylib
new file mode 100755
index 000000000..882ce87c6
Binary files /dev/null and b/screenpipe-vision/lib/libscreenpipe_x86_64.dylib differ