mirror of
https://github.com/storytold/soundcraft.git
synced 2026-11-13 17:36:10 -06:00
Windows: Include portable.txt in portable ZIP packages (#1341)
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user