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
Extend Windows FFmpeg download timeout (#4700)
Ezra Ellette92b0c76d430e
diff --git a/apps/screenpipe-app-tauri/scripts/pre_build.js b/apps/screenpipe-app-tauri/scripts/pre_build.jsindex 1bf727dac..b00039e1b 100644--- a/apps/screenpipe-app-tauri/scripts/pre_build.js+++ b/apps/screenpipe-app-tauri/scripts/pre_build.js@@ -756,7 +756,7 @@ if (platform == 'windows') {const arm64Url = asset.browser_download_urlconst arm64Filename = asset.nameconsole.log(`ffmpeg ARM64: ${arm64Url}`)- await downloadFile(arm64Url, arm64Filename, { retries: 10, timeoutMs: 120000 })+ await downloadFile(arm64Url, arm64Filename, { retries: 10, timeoutMs: 900000 })await $`${sevenZ} x ${arm64Filename}`// tordona 7z extracts to a single folder; move its contents to ffmpeg (or rename if single top-level dir)const entries = await fs.readdir(cwd, { withFileTypes: true })@@ -772,7 +772,7 @@ if (platform == 'windows') {}await fs.rm(path.join(cwd, arm64Filename), { force: true }).catch(() => {})} else {- await downloadFile(config.windows.ffmpegUrl, `${config.windows.ffmpegName}.7z`, { retries: 10, timeoutMs: 120000 })+ await downloadFile(config.windows.ffmpegUrl, `${config.windows.ffmpegName}.7z`, { retries: 10, timeoutMs: 900000 })await $`${sevenZ} x ${config.windows.ffmpegName}.7z`await $`mv ${config.windows.ffmpegName} ${config.ffmpegRealname}`await $`rm -rf ${config.windows.ffmpegName}.7z`