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 doc
Louis Beaumont46a2c1f8737b
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 218d2c225..42a361748 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -149,7 +149,7 @@ jobs:if [[ "${{ matrix.platform }}" == "macos-latest" ]]; thenexport PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"export PKG_CONFIG_ALLOW_CROSS=1- export RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-rpath,@executable_path/../Frameworks -C link-arg=-Wl,-rpath,@loader_path/../Frameworks -C link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib"+ export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../Frameworks -C link-arg=-Wl,-rpath,@loader_path/../Frameworks -C link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib"export V8_FLAGS="--max-old-space-size=4096" # https://github.com/denoland/deno_core/issues/916ficargo build --release ${{ matrix.args }}diff --git a/screenpipe-app-tauri/scripts/pre_build.js b/screenpipe-app-tauri/scripts/pre_build.jsindex 8863450bd..200273846 100644--- a/screenpipe-app-tauri/scripts/pre_build.js+++ b/screenpipe-app-tauri/scripts/pre_build.js@@ -209,10 +209,16 @@ if (platform == 'windows') {const onnxRuntimeUrl = `https://github.com/microsoft/onnxruntime/releases/download/v1.19.2/${onnxRuntimeLibs}`if (!(await fs.exists(onnxRuntimeName))) {console.log('Setting up ONNX Runtime libraries for Windows...')- await $`${wgetPath} -nc --no-check-certificate --show-progress ${onnxRuntimeUrl} -O ${onnxRuntimeLibs}`- await $`unzip ${onnxRuntimeLibs} || tar -xf ${onnxRuntimeLibs} || echo "Done extracting"`;- await $`rm -rf ${onnxRuntimeLibs} || rm ${onnxRuntimeLibs} -Recurse -Force || echo "Done cleaning up zip"`;- console.log('ONNX Runtime libraries for Windows set up successfully.')+ try {+ await $`${wgetPath} -nc --no-check-certificate --show-progress ${onnxRuntimeUrl} -O ${onnxRuntimeLibs}`+ await $`unzip ${onnxRuntimeLibs} || tar -xf ${onnxRuntimeLibs} || echo "Done extracting"`;+ await $`rm -rf ${onnxRuntimeLibs} || rm ${onnxRuntimeLibs} -Recurse -Force || echo "Done cleaning up zip"`;+ console.log('ONNX Runtime libraries for Windows set up successfully.')+ } catch (error) {+ console.error('Error downloading or extracting ONNX Runtime:', error);+ console.log('Attempting alternative download method...');+ // Add alternative download method here+ }} else {console.log('ONNX Runtime libraries for Windows already exists.')}