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

Make sure ONNX is copied into output folder (#830)

Neptunee66779d62c48
diff --git a/screenpipe-audio/build.rs b/screenpipe-audio/build.rs
index c32de1554..20ccf040c 100644
--- a/screenpipe-audio/build.rs
+++ b/screenpipe-audio/build.rs
@@ -88,4 +88,5 @@ fn install_onnxruntime() {
"onnxruntime-win-x64-gpu-1.19.2",
"../screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-gpu-1.19.2",
);
+ println!("cargo:rustc-link-search=native=../screenpipe-app-tauri/src-tauri/onnxruntime-win-x64-gpu-1.19.2/lib");
}