PhotoCraft: An open-source, photo editor written by scratch in pure Rust
Windows packaging: don't publish .wixpdb debug symbols
Brandon Thomas5969c8d58aef
diff --git a/packaging/windows/package.ps1 b/packaging/windows/package.ps1index 0d156acab..8cb76f112 100644--- a/packaging/windows/package.ps1+++ b/packaging/windows/package.ps1@@ -79,6 +79,8 @@ Invoke-Native 'wix build' {-d "Version=$MsiVersion" -d "BinDir=$Stage" -d "IconPath=$(Join-Path $Root 'assets\app-icon\photocraft.ico')" `-o $Msi}+# wix writes its debug symbols (.wixpdb) next to the MSI; keep them out of the release assets.+Remove-Item -Force -ErrorAction SilentlyContinue ([IO.Path]::ChangeExtension($Msi, '.wixpdb'))& (Join-Path $PSScriptRoot 'sign.ps1') $Msi# ---- portable zip ------------------------------------------------------------------------------