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 prebuild

Louis Beaumont960f40bee4a1
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index 1179d49fd..8daad32d7 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -264,8 +264,8 @@ if (platform == 'macos') {
if (arch === 'arm64') {
const paths = [
- "../target/aarch64-apple-darwin/release/screenpipe",
- "../target/release/screenpipe"
+ "../../target/aarch64-apple-darwin/release/screenpipe",
+ "../../target/release/screenpipe"
];
const mostRecentPath = await getMostRecentBinaryPath('arm64', paths);
@@ -291,8 +291,8 @@ if (platform == 'macos') {
} else if (arch === 'x86_64') {
// copy screenpipe binary (more recent one)
const paths = [
- "../target/x86_64-apple-darwin/release/screenpipe",
- "../target/release/screenpipe"
+ "../../target/x86_64-apple-darwin/release/screenpipe",
+ "../../target/release/screenpipe"
];
const mostRecentPath = await getMostRecentBinaryPath('x86_64', paths);