mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Powershell v6+ use the executable name `pwsh.exe` instead of `powershell.exe`. This change adds support for determining the Windows version on systems that solely use `pwsh.exe` and don't have `powershell.exe` on the `PATH`. Fixes #156189. --------- Co-authored-by: Andrew Kolos <andrewrkolos@gmail.com>