diff --git a/resources/build.ps1 b/resources/build.ps1 index b179f72..98dafb2 100644 --- a/resources/build.ps1 +++ b/resources/build.ps1 @@ -1,6 +1,7 @@ param($type) # [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 +[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("GBK") $MsvcScript = 'D:\Program Files\Microsoft Visual Studio\2022\\Community\Common7\Tools\Launch-VsDevShell.ps1' if (!(Test-Path $MsvcScript)) { $MsvcScript = 'D:\Program Files\Microsoft Visual Studio\2022\\Professional\Common7\Tools\Launch-VsDevShell.ps1' }