@@ -272,7 +272,8 @@ jobs:
272272 if : matrix.os == 'windows-latest'
273273 timeout-minutes : 20
274274 run : |
275- $args = "${{ inputs.url }}", "--name", "${{ inputs.name }}"
275+ # Use title as app product name on Windows to preserve display casing
276+ $args = "${{ inputs.url }}", "--name", "${{ inputs.title }}"
276277
277278 # Auto-detect local icon or use provided icon
278279 if ("${{ inputs.icon }}" -ne "") {
@@ -289,10 +290,13 @@ jobs:
289290
290291 # The CLI copies the MSI to project root and removes it from bundle directory
291292 # Check project root first, then fallback to bundle directories
292- $projectRootMsi = "${{ inputs.name }}.msi"
293+ $projectRootMsi = "${{ inputs.title }}.msi"
294+ $legacyProjectRootMsi = "${{ inputs.name }}.msi"
293295
294296 if (Test-Path $projectRootMsi) {
295297 Move-Item -Path $projectRootMsi -Destination "output\windows\${{inputs.title}}_x64.msi"
298+ } elseif (Test-Path $legacyProjectRootMsi) {
299+ Move-Item -Path $legacyProjectRootMsi -Destination "output\windows\${{inputs.title}}_x64.msi"
296300 } else {
297301 # Check architecture-specific path (x64 builds)
298302 $msiFiles = Get-ChildItem -Path "src-tauri\target\x86_64-pc-windows-msvc\release\bundle\msi\*.msi" -ErrorAction SilentlyContinue
@@ -308,6 +312,7 @@ jobs:
308312 Write-Error "No MSI files found in expected locations"
309313 Write-Host "Searched paths:"
310314 Write-Host " - $projectRootMsi (project root)"
315+ Write-Host " - $legacyProjectRootMsi (project root)"
311316 Write-Host " - src-tauri\target\x86_64-pc-windows-msvc\release\bundle\msi\"
312317 Write-Host " - src-tauri\target\release\bundle\msi\"
313318 Write-Host "`nAll MSI files in target directory:"
0 commit comments