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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
try fix
Louis Beaumont1f32d1b7a8b5
diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.jsindex 54a183870..c5a92dc0e 100644--- a/screenpipe-app-tauri/scripts/pre_build.js+++ b/screenpipe-app-tauri/scripts/pre_build.js@@ -125,6 +125,10 @@ async function copyBunBinary() {let bunSrc, bunDest1, bunDest2;if (platform === 'windows') {+ // Get and log npm global prefix+ const npmGlobalPrefix = (await $`npm config get prefix`.text()).trim();+ console.log('npm global prefix:', npmGlobalPrefix);+// Try to find bun location using system commandslet bunPathFromSystem;try {@@ -149,6 +153,7 @@ async function copyBunBinary() {// npm global pathspath.join(npmGlobalPrefix, 'node_modules', 'bun', 'bin', 'bun.exe'),path.join(npmGlobalPrefix, 'bun.exe'),+ path.join(npmGlobalPrefix, 'bin', 'bun.exe'),// AppData pathspath.join(os.homedir(), 'AppData', 'Local', 'bun', 'bun.exe'),// Direct paths@@ -156,7 +161,7 @@ async function copyBunBinary() {'C:\\Program Files (x86)\\bun\\bun.exe',// System path'bun.exe'- ].filter(Boolean); // Remove undefined entries+ ].filter(Boolean);console.log('searching bun in these locations:');possibleBunPaths.forEach(p => console.log('- ' + p));