From faa38be657e03c06b68d302bbeca8ddeca0cd769 Mon Sep 17 00:00:00 2001 From: Lorie Date: Thu, 12 Nov 2026 19:48:24 -0500 Subject: [PATCH] Windows: Include portable.txt in portable ZIP packages (#1341) --- packaging/windows/package.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/windows/package.ps1 b/packaging/windows/package.ps1 index 636e6f91..ea253250 100644 --- a/packaging/windows/package.ps1 +++ b/packaging/windows/package.ps1 @@ -112,6 +112,8 @@ $Portable = Join-Path $TargetDir "windows-package\soundcraft-$Version-windows-$A Remove-Item -Recurse -Force $Portable -ErrorAction SilentlyContinue New-Item -ItemType Directory -Force -Path $Portable | Out-Null Copy-Item (Join-Path $Stage '*.exe') $Portable +# The ZIP is portable by default; keep the marker out of the MSI staging directory. +Set-Content -LiteralPath (Join-Path $Portable 'portable.txt') -Encoding Ascii -Value 'SoundCraft portable mode: settings and logs are stored in SoundCraftData beside the executable.' foreach ($f in 'README.md', 'LICENSE', 'LICENSE-MIT', 'LICENSE-APACHE', 'NOTICE', 'ATTRIBUTION.md') { $p = Join-Path $Root $f if (Test-Path $p) { Copy-Item $p $Portable }