mirror of
https://github.com/flutter/flutter
synced 2024-10-12 11:12:54 +00:00
This reverts commit bc4a3f1703
.
This commit is contained in:
parent
f0dec6e305
commit
e6f71555f6
|
@ -40,13 +40,8 @@ if (Test-Path $dartSdkPath) {
|
|||
}
|
||||
New-Item $dartSdkPath -force -type directory | Out-Null
|
||||
$dartSdkZip = "$cachePath\dart-sdk.zip"
|
||||
# TODO(goderbauer): remove (slow and backwards-incompatible) appveyor work around
|
||||
if (Test-Path Env:\APPVEYOR) {
|
||||
curl $dartSdkUrl -OutFile $dartSdkZip
|
||||
} else {
|
||||
Import-Module BitsTransfer
|
||||
Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip
|
||||
}
|
||||
Import-Module BitsTransfer
|
||||
Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip
|
||||
|
||||
Write-Host "Unzipping Dart SDK..."
|
||||
If (Get-Command 7z -errorAction SilentlyContinue) {
|
||||
|
|
Loading…
Reference in a new issue