From 800457f150c972bb377bb5d91c53be5542aecd99 Mon Sep 17 00:00:00 2001 From: strongleong Date: Wed, 8 Feb 2023 00:04:33 +1100 Subject: [PATCH] Fixed newline bug with lang files --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 6ed3b8c..8896bc8 100644 --- a/build.ps1 +++ b/build.ps1 @@ -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);