diff --git a/build/download_ap.ps1 b/build/download_ap.ps1 index 5315d9be5..d6b7d6b45 100755 --- a/build/download_ap.ps1 +++ b/build/download_ap.ps1 @@ -317,7 +317,7 @@ function Get-Asset($asset_url) { throw "Failed extracting $downloaded_zip using unzip" } } - elseif (Get-Command unzip -CommandType Application -ErrorAction SilentlyContinue) { + elseif (Get-Command tar -CommandType Application -ErrorAction SilentlyContinue) { tar --extract --xz --file $downloaded_zip --directory $Destination if ($LASTEXITCODE -ne 0) { throw "Failed extracting $downloaded_zip using tar"