mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
Update applocal.ps1 (#4942)
* Update applocal.ps1 * Update applocal.ps1 Fix Microsoft#2801, prev modify mistake UTF8 to UTF * Update applocal.ps1 in win7 chinese path, must utf8 to avoid copy dll fail
This commit is contained in:
parent
72657582cf
commit
555b760c67
@ -9,7 +9,7 @@ $g_is_debug = $g_install_root -match '(.*\\)?debug(\\)?$'
|
||||
# Ensure we create the copied files log, even if we don't end up copying any files
|
||||
if ($copiedFilesLog)
|
||||
{
|
||||
Set-Content -Path $copiedFilesLog -Value "" -Encoding Ascii
|
||||
Set-Content -Path $copiedFilesLog -Value "" -Encoding UTF8
|
||||
}
|
||||
|
||||
# Note: this function signature is depended upon by the qtdeploy.ps1 script introduced in 5.7.1-7
|
||||
@ -28,7 +28,7 @@ function deployBinary([string]$targetBinaryDir, [string]$SourceDir, [string]$tar
|
||||
Write-Verbose " ${targetBinaryName}: Copying $SourceDir\$targetBinaryName"
|
||||
Copy-Item "$SourceDir\$targetBinaryName" $targetBinaryDir
|
||||
}
|
||||
if ($copiedFilesLog) { Add-Content $copiedFilesLog "$targetBinaryDir\$targetBinaryName" }
|
||||
if ($copiedFilesLog) { Add-Content $copiedFilesLog "$targetBinaryDir\$targetBinaryName" -Encoding UTF8 }
|
||||
if ($tlogFile) { Add-Content $tlogFile "$targetBinaryDir\$targetBinaryName" }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user