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
fix: enhance VC143 CRT DLLs copying logic in pre_build.js
Divanshu291d76c563f9
diff --git a/apps/screenpipe-app-tauri/scripts/pre_build.js b/apps/screenpipe-app-tauri/scripts/pre_build.jsindex 8c21a9afb..47790f608 100644--- a/apps/screenpipe-app-tauri/scripts/pre_build.js+++ b/apps/screenpipe-app-tauri/scripts/pre_build.js@@ -295,8 +295,17 @@ if (platform == 'windows') {await $`rm -rf ${config.windows.ffmpegName}.7z`}- // Copy VC143 CRT DLLs for Tauri bundle (used by build and CI)- await copyVcredistDlls();+ // Copy VC143 CRT DLLs for Tauri bundle (required in CI; optional locally)+ const inCI = process.env.CI === 'true' || process.env.GITHUB_ACTIONS === 'true';+ if (inCI) {+ await copyVcredistDlls();+ } else {+ try {+ await copyVcredistDlls();+ } catch (err) {+ console.warn('Skipping VC redist DLL copy (optional outside CI):', err.message);+ }+ }// Setup vcpkg packages with environment variables set inline// TODO is this even used? dont we use build.rs for this?