docs(pwsh): scope the encoding claim, document the PATH probe and preamble limitation, and fix catalog requires lists

This commit is contained in:
Huanqi Cao
2026-08-02 19:37:45 +08:00
parent 12c6f43bf1
commit 5e437d3996
10 changed files with 21 additions and 17 deletions

View File

@@ -996,8 +996,9 @@ export interface Config {
graceMs?: number
/**
* Explicit pwsh executable. When omitted, well-known Windows install
* locations are probed first (PowerShell 7, then Windows PowerShell 5.1),
* falling back to a bare `pwsh` resolved through PATH.
* locations and PATH entries are probed in order (PowerShell 7 install,
* PATH entries such as the Microsoft Store install, then Windows
* PowerShell 5.1), falling back to a bare `pwsh` resolved through PATH.
*/
pwshPath?: string
}