Fix Windows CUDA build: replace Compress-Archive and drop NSIS
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -222,7 +222,8 @@ jobs:
|
|||||||
- name: Package sidecar for Tauri
|
- name: Package sidecar for Tauri
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
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 ──
|
# ── Tauri app ──
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
@@ -266,7 +267,7 @@ jobs:
|
|||||||
$RELEASE_ID = $release.id
|
$RELEASE_ID = $release.id
|
||||||
Write-Host "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
|
$filename = $_.Name
|
||||||
$encodedName = [System.Uri]::EscapeDataString($filename)
|
$encodedName = [System.Uri]::EscapeDataString($filename)
|
||||||
$size = [math]::Round($_.Length / 1MB, 1)
|
$size = [math]::Round($_.Length / 1MB, 1)
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": ["deb", "nsis", "msi", "dmg"],
|
"targets": ["deb", "msi", "dmg"],
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
"icons/128x128.png",
|
"icons/128x128.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user