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

Unwrap code statements (#788)

Neptunec21d825c416a
diff --git a/screenpipe-app-tauri/src-tauri/build.rs b/screenpipe-app-tauri/src-tauri/build.rs
index 2815a23df..f92827a20 100644
--- a/screenpipe-app-tauri/src-tauri/build.rs
+++ b/screenpipe-app-tauri/src-tauri/build.rs
@@ -7,7 +7,7 @@ fn main() {
{
#[cfg(target_arch = "x86_64")]
{
- fs::copy("../../target/x86_64-apple-darwin/release/screenpipe", "screenpipe-x86_64-apple-darwin")?;
+ fs::copy("../../target/x86_64-apple-darwin/release/screenpipe", "screenpipe-x86_64-apple-darwin").unwrap();
Command::new("install_name_tool")
.args(["-change", "../../screenpipe-vision/lib/libscreenpipe_x86_64.dylib",
"@executable_path/../Frameworks/libscreenpipe_x86_64.dylib", "./screenpipe-x86_64-apple-darwin"])
@@ -21,7 +21,7 @@ fn main() {
}
#[cfg(target_arch = "aarch64")]
{
- fs::copy("../../target/aarch64-apple-darwin/release/screenpipe", "screenpipe-aarch64-apple-darwin")?;
+ fs::copy("../../target/aarch64-apple-darwin/release/screenpipe", "screenpipe-aarch64-apple-darwin").unwrap();
Command::new("install_name_tool")
.args(["-change", "../../screenpipe-vision/lib/libscreenpipe_arm64.dylib",
"@executable_path/../Frameworks/libscreenpipe_arm64.dylib", "./screenpipe-aarch64-apple-darwin"])