diff --git a/Cargo.toml b/Cargo.toml index 8bd8b2cd8..5357da6ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ resolver = "2" [workspace.package] -version = "0.1.51" +version = "0.1.52" authors = ["louis030195 "] description = "" repository = "https://github.com/louis030195/screen-pipe" diff --git a/Formula/screenpipe.rb b/Formula/screenpipe.rb index 6fc1920b2..ee0953696 100644 --- a/Formula/screenpipe.rb +++ b/Formula/screenpipe.rb @@ -19,7 +19,7 @@ class Screenpipe < Formula def install bin.install "screenpipe" - # lib.install Dir["lib/*"] + lib.install Dir["lib/*"] end test do diff --git a/screenpipe-vision/build.rs b/screenpipe-vision/build.rs index 2a14c61fd..0b2569b8e 100644 --- a/screenpipe-vision/build.rs +++ b/screenpipe-vision/build.rs @@ -2,17 +2,18 @@ use std::env; #[cfg(target_os = "macos")] fn main() { - let destination = env::var("DESTINATION").unwrap_or_default(); + println!("cargo:rustc-link-lib=dylib=screenpipe"); - if destination == "brew" { - println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib"); - } else if destination == "tauri" { - println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../Frameworks"); - } else { - println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../../screenpipe-vision/lib"); - } + // let destination = env::var("DESTINATION").unwrap_or_default(); + println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib"); - println!("cargo:rustc-link-lib=dylib=screenpipe"); + // if destination == "brew" { + // println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../lib"); + // } else if destination == "tauri" { + // println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../Frameworks"); + // } else { + // println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../../screenpipe-vision/lib"); + // } } #[cfg(not(target_os = "macos"))]