Adb-setup-1.3 -

# Copy required files $files = @("adb.exe", "AdbWinApi.dll", "AdbWinUsbApi.dll", "fastboot.exe") foreach ($file in $files) $src = Join-Path $ADBSourceDir $file if (Test-Path $src) Copy-Item -Path $src -Destination $TargetDir -Force Write-Host " Copied $file" else Write-Warning "Missing: $file"

function Install-Adb Write-Host "Installing ADB and fastboot to $TargetDir" -ForegroundColor Cyan if (-not (Test-Path $TargetDir)) Out-Null adb-setup-1.3

Add-ToSystemPath