feat: username.txt & cleanup file output
This commit is contained in:
1 parent
987e77c817
commit
5725fd715f
10 files changed
+48
-18
No files matched your search
@@ -45,6 +45,17 @@ $fileCopies = @(
|
||||
@{ Source = "Common\Tutorial\Tutorial"; Dest = "Tutorial\Tutorial" }
|
||||
)
|
||||
|
||||
$deleteDirs = @(
|
||||
"Common\res\TitleUpdate\GameRules"
|
||||
)
|
||||
|
||||
foreach ($dir in $deleteDirs) {
|
||||
$path = Join-Path $OutDir $dir
|
||||
if (Test-Path $path) {
|
||||
Remove-Item $path -Recurse -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($copy in $fileCopies) {
|
||||
$src = Join-Path $ProjectDir $copy.Source
|
||||
$dst = Join-Path $OutDir $copy.Dest
|
||||
|
||||
Reference in new issue
Block a user