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.34 — fix Windows ARM64 sign-ssl.ps1 relative path bug

Louis Beaumont85a1fc82a11c
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 20b7c8363..c1500ca31 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.33"
+version = "2.4.34"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1 b/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1
index 4f4df7e58..9205a558f 100644
--- a/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1
+++ b/apps/screenpipe-app-tauri/src-tauri/sign-ssl.ps1
@@ -23,6 +23,26 @@ if (-not $env:CODESIGNTOOL_PATH) {
exit 1
}
+# Resolve $FilePath to an absolute path BEFORE the Push-Location below.
+#
+# Tauri's bundler invokes signCommand with what's sometimes a relative
+# filename — observed concretely on Windows ARM64 for the bun sidecar:
+# `... sign-ssl.ps1 bun-aarch64-pc-windows-msvc.exe`
+# (no directory). Once we Push-Location into $env:CODESIGNTOOL_PATH, that
+# relative path resolves against the wrong directory and CodeSignTool
+# fails with "Invalid input file path".
+#
+# x86_64 happens not to hit this because Tauri passes absolute paths
+# for the binaries that surface there (different bundler code path
+# for the per-target sidecar set), but defensively normalizing makes
+# the script correct regardless of caller cwd or path style.
+try {
+ $FilePath = (Resolve-Path -LiteralPath $FilePath -ErrorAction Stop).ProviderPath
+} catch {
+ Write-Host "ERROR: cannot resolve input path '$FilePath' (cwd=$(Get-Location)): $_"
+ exit 1
+}
+
$jarFile = Get-ChildItem $env:CODESIGNTOOL_PATH -Recurse -Filter "code_sign_tool*.jar" | Select-Object -First 1
$javaFile = Get-ChildItem $env:CODESIGNTOOL_PATH -Recurse -Filter "java.exe" | Select-Object -First 1