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",