feat: username.txt & cleanup file output

This commit is contained in:
str1k3r committed 2026-09-10 22:17:47 -04:00
1 parent 987e77c817
commit 5725fd715f
10 files changed
+48 -18

No files matched your search

@@ -62,7 +62,9 @@ foreach ($copy in $fileCopies) {
}
$deleteDirs = @(
"Common\Media\font\RU"
"Common\Media\font\RU",
"Common\res\TitleUpdate\DLC",
"Common\res\TitleUpdate\Audio"
)
foreach ($dir in $deleteDirs) {
@@ -74,13 +76,14 @@ foreach ($dir in $deleteDirs) {
$delDirs = @(
"Common\Media\font",
"Common\Media\font\*"
"Common\Media\font\*",
"Common\res\TitleUpdate\GameRules"
)
foreach ($dir in $delDirs) {
$path = Join-Path $OutDir $dir
if (Test-Path $path) {
Get-ChildItem -Path $path -Recurse -Include *.txt, *.abc, "Mojang Font_7.ttf", "Mojang Font_11.ttf", "DF-DotDotGothic16.ttf", "DFTT_R5.TTC", "candadite2.ttf" -File |
Get-ChildItem -Path $path -Recurse -Include *.txt, *.abc, *.mcs, "Mojang Font_7.ttf", "Mojang Font_11.ttf", "DF-DotDotGothic16.ttf", "DFTT_R5.TTC", "candadite2.ttf" -File |
Remove-Item -Force -ErrorAction SilentlyContinue
}
}