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:build

Louis Beaumontee0174c3c82b
diff --git a/Cargo.toml b/Cargo.toml
index 4044aca14..8bd8b2cd8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@ resolver = "2"
[workspace.package]
-version = "0.1.48"
+version = "0.1.51"
authors = ["louis030195 <[email protected]>"]
description = ""
repository = "https://github.com/louis030195/screen-pipe"
diff --git a/screenpipe-vision/src/apple.rs b/screenpipe-vision/src/apple.rs
index 101c97808..d03ed2f83 100644
--- a/screenpipe-vision/src/apple.rs
+++ b/screenpipe-vision/src/apple.rs
@@ -11,7 +11,7 @@ extern "C" {
height: i32,
) -> *mut c_char;
}
-
+#[cfg(target_os = "macos")]
pub fn perform_ocr_apple(image: &DynamicImage) -> String {
let rgba = image.to_rgba8();
let (width, height) = rgba.dimensions();