Skip to content

Commit

Permalink
Update Download_ADB.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 authored Dec 10, 2023
1 parent fbb8443 commit 911ead1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Download_ADB.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

if ($Host.Version.Major -eq 5)
{
# Progress bar can significantly impact cmdlet performance
# https://github.com/PowerShell/PowerShell/issues/2138
$Script:ProgressPreference = "SilentlyContinue"
}

# https://developer.android.com/studio/releases/platform-tools
$Parameters = @{
Uri = "https://dl.google.com/android/repository/platform-tools-latest-windows.zip"
Expand Down

0 comments on commit 911ead1

Please sign in to comment.