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: use TAURI_WINDOWS_SIGNTOOL_PATH for ARM64 builds
Louis Beaumont2dbb915cf2a6
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 24778baf7..c30fce646 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -753,18 +753,22 @@ jobs:shell: powershellrun: |dotnet tool install --global AzureSignTool- # Find signtool.exe and make it available everywhere (PATH + copy to system dir)- $signtool = Get-ChildItem "C:\Program Files*\Windows Kits\10\bin" -Recurse -Filter "signtool.exe" -ErrorAction SilentlyContinue | Select-Object -First 1+ # Set TAURI_WINDOWS_SIGNTOOL_PATH to bypass Tauri's os_bitness() bug on ARM64+ # (Tauri doesn't handle ARM64 in GetNativeSystemInfo, causing "SignTool not found")+ $signtool = $null+ foreach ($arch in @("arm64", "x64", "x86")) {+ $signtool = Get-ChildItem "C:\Program Files*\Windows Kits\10\bin" -Recurse -Filter "signtool.exe" -ErrorAction SilentlyContinue |+ Where-Object { $_.DirectoryName -match "\\$arch$" } |+ Sort-Object { ($_.DirectoryName -replace '.*\\(\d+\.\d+\.\d+\.\d+)\\.*','$1') } -Descending |+ Select-Object -First 1+ if ($signtool) { break }+ }if ($signtool) {- $dir = $signtool.DirectoryName- echo "$dir" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append- Write-Host "Found signtool.exe at: $($signtool.FullName)"- # Copy to a system directory so Tauri's bundler can find it regardless of SDK detection- Copy-Item $signtool.FullName "C:\Windows\System32\signtool.exe" -Force -ErrorAction SilentlyContinue- Write-Host "Copied signtool.exe to C:\Windows\System32\"+ echo "TAURI_WINDOWS_SIGNTOOL_PATH=$($signtool.FullName)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append+ echo "$($signtool.DirectoryName)" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append+ Write-Host "Set TAURI_WINDOWS_SIGNTOOL_PATH=$($signtool.FullName)"} else {Write-Host "ERROR: signtool.exe not found anywhere"- Get-ChildItem "C:\Program Files*\Windows Kits" -Recurse -ErrorAction SilentlyContinue | Where-Object { $_.Name -like "sign*" } | ForEach-Object { Write-Host "Found: $($_.FullName)" }exit 1}