fix: Miles Sound System on Windows64 & Move all msscmp's to media folders

This commit is contained in:
2026-08-14 16:37:58 -04:00
parent 6a49df36cc
commit ecb1a93444
13 changed files with 83 additions and 41 deletions
@@ -26,7 +26,7 @@ foreach ($dir in $directories) {
$folderCopies = @(
@{ Source = "Common\Media"; Dest = "Common\Media" },
@{ Source = "Common\res"; Dest = "Common\res" },
@{ Source = "Durango\Sound"; Dest = "Sound" },
@{ Source = "DurangoMedia\Sound"; Dest = "Sound" },
@{ Source = "DurangoMedia\DLC"; Dest = "DLC" },
@{ Source = "DurangoMedia\Tutorial"; Dest = "Tutorial" },
@{ Source = "music"; Dest = "music" },
@@ -40,6 +40,8 @@ foreach ($copy in $folderCopies) {
if (Test-Path $src) {
xcopy /q /y /i /s /e /d "$src" "$dst" 2>$null
} else {
Write-Host "Durango Postbuild: Folder not found, skipping: $src"
}
}
@@ -53,7 +55,9 @@ foreach ($copy in $fileCopies) {
$dst = Join-Path $OutDir $copy.Dest
if (Test-Path $src) {
Copy-Item -Path $src -Destination $dst -Force
}
} else {
Write-Host "Durango Postbuild: File not found, skipping: $src"
}
}
$deleteDirs = @(