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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: build.rs improvements
Louis Beaumont9414d8b29c19
diff --git a/Cargo.toml b/Cargo.tomlindex c1adca97e..ab3b3faaf 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri"]resolver = "2"[workspace.package]-version = "0.3.50"+version = "0.3.51"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/screenpipe/screenpipe"diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 915a2f0e9..91e9ed71c 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.0.256"+version = "2.0.257"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/apps/screenpipe-app-tauri/src-tauri/build.rs b/apps/screenpipe-app-tauri/src-tauri/build.rsindex 7d606a3e7..e9d339689 100644--- a/apps/screenpipe-app-tauri/src-tauri/build.rs+++ b/apps/screenpipe-app-tauri/src-tauri/build.rs@@ -1,5 +1,17 @@fn main() {#[cfg(target_os = "macos")]- println!("cargo:rustc-link-lib=framework=AVFoundation");+ {+ println!("cargo:rustc-link-lib=framework=AVFoundation");++ // whisper.cpp ggml uses std::filesystem::path which requires macOS 10.15++ // Set deployment target if not already set (CI sets its own values)+ if std::env::var("MACOSX_DEPLOYMENT_TARGET").is_err() {+ println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.15");+ std::env::set_var("MACOSX_DEPLOYMENT_TARGET", "10.15");+ }+ if std::env::var("CMAKE_OSX_DEPLOYMENT_TARGET").is_err() {+ std::env::set_var("CMAKE_OSX_DEPLOYMENT_TARGET", "10.15");+ }+ }tauri_build::build()}