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

Bump app to v2.4.173 — fix(release-app,windows): re-add ONNX Runtime download — release-app

Louis Beaumont1c9aa565fabb
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index cd9556265..02e75099c 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -464,6 +464,35 @@ jobs:
if: matrix.os_type == 'windows'
uses: ilammy/msvc-dev-cmd@v1
+ # `tauri.windows.conf.json` bundles `onnxruntime*\lib\onnxruntime.dll`
+ # as a Tauri resource. Without this file in place at build time,
+ # tauri_build::build() inside the screenpipe-app build script panics
+ # with `glob pattern ... didn't match any files`, killing the cargo
+ # build before it can even compile our crate. The ORT setup that used
+ # to live here was removed in d62360bc4 (Windows ARM64 PR); v2.4.165
+ # only succeeded because a stale rust-cache / artifacts cache still
+ # contained the directory. Re-add the download so we don't depend on
+ # cache hits for a load-bearing path. release-cli.yml has the same
+ # step; keep them in sync if the pinned ORT version moves.
+ - name: Download ONNX Runtime
+ if: matrix.os_type == 'windows'
+ shell: pwsh
+ run: |
+ if ('${{ matrix.target }}' -eq 'aarch64-pc-windows-msvc') {
+ $arch = 'arm64'
+ } else {
+ $arch = 'x64'
+ }
+ $version = '1.19.2'
+ $url = "https://github.com/microsoft/onnxruntime/releases/download/v$version/onnxruntime-win-$arch-$version.zip"
+ $zipFile = "onnxruntime-win-$arch-$version.zip"
+ $extractDir = "apps/screenpipe-app-tauri/src-tauri/onnxruntime-win-$arch-$version"
+ Invoke-WebRequest -Uri $url -OutFile $zipFile
+ if (Test-Path $extractDir) { Remove-Item $extractDir -Recurse -Force }
+ 7z x $zipFile -o"apps/screenpipe-app-tauri/src-tauri/" -y
+ Write-Host "ONNX Runtime extracted to $extractDir"
+ Get-ChildItem "$extractDir/lib" | ForEach-Object { Write-Host $_.Name }
+
- name: Install Ninja (ARM64)
if: matrix.os_type == 'windows' && matrix.target == 'aarch64-pc-windows-msvc'
shell: powershell
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index cdb366158..e3999970a 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -9972,7 +9972,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.4.172"
+version = "2.4.173"
dependencies = [
"aes",
"anyhow",
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index e02e9cb97..7a408bb7c 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.4.172"
+version = "2.4.173"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""