Skip to content

Commit

Permalink
fix: cli brew
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Aug 9, 2024
1 parent 0cb3df5 commit afef0e4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 10 additions & 0 deletions screenpipe-vision/build.rs
Original file line number Diff line number Diff line change
@@ -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() {}
Binary file removed screenpipe-vision/lib/libscreenpipe.dylib
Binary file not shown.
Binary file not shown.
Binary file added screenpipe-vision/lib/libscreenpipe_x86_64.dylib
Binary file not shown.

0 comments on commit afef0e4

Please sign in to comment.