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

try fix

Louis Beaumontaa7540deabcc
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.js
index c5a92dc0e..4fe4468e9 100644
--- a/screenpipe-app-tauri/scripts/pre_build.js
+++ b/screenpipe-app-tauri/scripts/pre_build.js
@@ -181,6 +181,11 @@ async function copyBunBinary() {
if (!bunSrc) {
throw new Error('Could not find bun.exe in any expected location. Please check if bun is installed correctly');
}
+
+ // Define the destination path
+ bunDest1 = path.join(cwd, 'src-tauri', 'binaries', 'bun-x86_64-pc-windows-msvc.exe');
+ console.log('copying bun from:', bunSrc);
+ console.log('copying bun to:', bunDest1);
} else if (platform === 'macos') {
bunSrc = path.join(os.homedir(), '.bun', 'bin', 'bun');
bunDest1 = path.join(cwd, 'bun-aarch64-apple-darwin');