Fixed newline bug with lang files

This commit is contained in:
strongleong 2023-02-08 00:04:33 +11:00
parent 3df2e27578
commit 800457f150
1 changed files with 1 additions and 1 deletions

View File

@ -164,8 +164,8 @@ function build_game_languages() {
Get-ChildItem $lang_path -Directory | ForEach-Object {
Get-ChildItem $_ -Filter *.txt | ForEach-Object {
if (-not (Test-Path "$lang_path\$($_.Name).bak")) {
Copy-Item "$lang_path\$($_.Name)" "$lang_path\$($_.Name).bak" -Force;
Write-Output "" >> $lang_path\$($_.Name);
Copy-Item "$lang_path\$($_.Name)" "$lang_path\$($_.Name).bak" -Force;
}
Get-Content $_ >> $lang_path\$($_.Name);