diff --git a/build.ps1 b/build.ps1 index 0cdfdc0c..38ca3d71 100644 --- a/build.ps1 +++ b/build.ps1 @@ -15,7 +15,7 @@ $env:DEPOT_TOOLS_WIN_TOOLCHAIN="0" $env:GYP_GENERATORS="msvs-ninja,ninja" $env:GYP_MSVS_OVERRIDE_PATH="C:\Program Files\Microsoft Visual Studio\2022\Community" $env:GYP_MSVS_VERSION="2022" - +$env:PATH+=";C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja" # 检查 Pscx 模块是否已安装 if (-not (Get-Module -Name Pscx -ListAvailable)) { Write-Host "安装Pscx PowerShell插件"