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

Louis Beaumont80a028ba8bad
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 546ccb3b3..38edf5750 100644
--- a/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.1.63"
+version = "0.1.64"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-vision/Cargo.toml b/screenpipe-vision/Cargo.toml
index 36bbf1568..f55670352 100644
--- a/screenpipe-vision/Cargo.toml
+++ b/screenpipe-vision/Cargo.toml
@@ -14,8 +14,6 @@ edition = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
-# Cross-platform screen capture
-xcap = "0.0.13" # This is the latest version as of now
# threadpool
threadpool = "1.8.1"
@@ -88,6 +86,12 @@ harness = false
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58", features = ["Graphics_Imaging", "Media_Ocr", "Storage", "Storage_Streams"] }
+xcap = "0.0.12"
[target.'cfg(target_os = "macos")'.dependencies]
libc = "0.2"
+xcap = "0.0.13" # memory leak fix, also for some reason 0.0.13 doesn't work on windows
+
+[target.'cfg(target_os = "linux")'.dependencies]
+libc = "0.2"
+xcap = "0.0.12"
\ No newline at end of file