From c79dc9ce74b4e042af4a2f18965f5fff8cabd6ea Mon Sep 17 00:00:00 2001 From: Dreagonmon <531486058@qq.com> Date: Sat, 7 Dec 2024 00:55:27 +0800 Subject: [PATCH] fix build script for Non-English environment --- src/dependencies/local-build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dependencies/local-build.ps1 b/src/dependencies/local-build.ps1 index 3e2236dd19..68fba1694a 100644 --- a/src/dependencies/local-build.ps1 +++ b/src/dependencies/local-build.ps1 @@ -117,7 +117,7 @@ try { $tempPbConfPath = Separator "$playbookTemp\playbook.conf" if ($patterns.Count -gt 0) { - Get-Content "playbook.conf" | Where-Object { $_ -notmatch ($patterns -join '|') } | Set-Content $tempPbConfPath + Get-Content -Encoding "utf8" "playbook.conf" | Where-Object { $_ -notmatch ($patterns -join '|') } | Set-Content -Encoding "utf8" $tempPbConfPath } $customYmlPath = Separator "Configuration\custom.yml"