运行./bootstrap-vcpkg.bat 时提示:“This program is blocked by group policy. For more information, contact your system administrtions”
更改了一下bat中 powershell.exe的路径,或者将powershell.exe路径加入环境变量
@echo off
C:\Windows.old\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass "& {& '%~dp0scripts\bootstrap.ps1' %*}"
双击运行bat,成功生成vcpkg.exe