mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This should make our scripts compatible with PowerShell 2 or newer. PowerShell 2 was released in October 2009 and shipped with Windows 7 as default. (I suspect the scripts are now also compatible with PowerShell 1, but that's unconfirmed). This fixes #8606. The PR also introduces better error handling when Flutter fail to download the Dart SDK to fix #8627.