From 024efccd4279c0193f29fc7a4252b62819411446 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 06:33:06 -0700 Subject: [PATCH] Fix Windows CUDA build: replace Compress-Archive and drop NSIS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace Compress-Archive (2GB limit) with 7z for sidecar packaging - Remove NSIS from bundle targets — NSIS has a 2GB per-file limit that breaks with CUDA-sized sidecar.zip; MSI (WiX) handles large files by splitting into multiple CABs - Update Windows upload to look for .msi only Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/release.yml | 5 +++-- src-tauri/tauri.conf.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 51a4606..44e19fc 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -222,7 +222,8 @@ jobs: - name: Package sidecar for Tauri shell: powershell run: | - Compress-Archive -Path python\dist\voice-to-notes-sidecar\* -DestinationPath src-tauri\sidecar.zip + # Compress-Archive has a 2GB limit; use 7z for CUDA builds + 7z a -tzip -mx=5 src-tauri\sidecar.zip .\python\dist\voice-to-notes-sidecar\* # ── Tauri app ── - name: Set up Node.js @@ -266,7 +267,7 @@ jobs: $RELEASE_ID = $release.id Write-Host "Release ID: ${RELEASE_ID}" - Get-ChildItem -Path src-tauri\target\release\bundle -Recurse -Include *.msi,*-setup.exe | ForEach-Object { + Get-ChildItem -Path src-tauri\target\release\bundle -Recurse -Include *.msi | ForEach-Object { $filename = $_.Name $encodedName = [System.Uri]::EscapeDataString($filename) $size = [math]::Round($_.Length / 1MB, 1) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ea36738..caac58f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -31,7 +31,7 @@ }, "bundle": { "active": true, - "targets": ["deb", "nsis", "msi", "dmg"], + "targets": ["deb", "msi", "dmg"], "icon": [ "icons/32x32.png", "icons/128x128.png",