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: only set TAURI_WINDOWS_SIGNTOOL_PATH on ARM64 targets
Louis Beaumontde95012d672e
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex c30fce646..82846c230 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -753,23 +753,22 @@ jobs:shell: powershellrun: |dotnet tool install --global AzureSignTool- # Set TAURI_WINDOWS_SIGNTOOL_PATH to bypass Tauri's os_bitness() bug on ARM64+ # On ARM64, set TAURI_WINDOWS_SIGNTOOL_PATH to bypass Tauri's os_bitness() bug# (Tauri doesn't handle ARM64 in GetNativeSystemInfo, causing "SignTool not found")- $signtool = $null- foreach ($arch in @("arm64", "x64", "x86")) {+ $target = "${{ matrix.target }}"+ if ($target -match "aarch64") {$signtool = Get-ChildItem "C:\Program Files*\Windows Kits\10\bin" -Recurse -Filter "signtool.exe" -ErrorAction SilentlyContinue |- Where-Object { $_.DirectoryName -match "\\$arch$" } |+ Where-Object { $_.DirectoryName -match "\\(arm64|x64)$" } |Sort-Object { ($_.DirectoryName -replace '.*\\(\d+\.\d+\.\d+\.\d+)\\.*','$1') } -Descending |Select-Object -First 1- if ($signtool) { break }- }- if ($signtool) {- 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"- exit 1+ if ($signtool) {+ 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 on ARM64 runner"+ exit 1+ }}- name: Build (Windows)