构建乱码的问题。
This commit is contained in:
parent
5b602e607c
commit
5ae5c5adc6
@ -1,6 +1,7 @@
|
|||||||
param($type)
|
param($type)
|
||||||
|
|
||||||
# [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
# [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'
|
$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' }
|
if (!(Test-Path $MsvcScript)) { $MsvcScript = 'D:\Program Files\Microsoft Visual Studio\2022\\Professional\Common7\Tools\Launch-VsDevShell.ps1' }
|
||||||
|
Loading…
Reference in New Issue
Block a user