diff --git a/data/DownloadUrls.psd1 b/data/DownloadUrls.psd1 index f72e98e..d78f491 100644 --- a/data/DownloadUrls.psd1 +++ b/data/DownloadUrls.psd1 @@ -113,7 +113,7 @@ # =========================== # Android Platform Tools (e.g., ADB) # =========================== - android_tools = @{ + android_platform_tools = @{ x64 = "https://dl.google.com/android/repository/platform-tools-latest-windows.zip" arm64 = $null # no official ARM64 build x86 = $null # no official X86 build diff --git a/postInstall.ps1 b/postInstall.ps1 index 8fc9501..ed7e824 100644 --- a/postInstall.ps1 +++ b/postInstall.ps1 @@ -366,7 +366,7 @@ $NpcapInstaller = Join-Path $TmpDir "npcap-setup.exe" $NmapInstaller = Join-Path $TmpDir "nmap-setup.exe" $GtkServerCompressed = Join-Path $TmpDir "gtkserver.zip" $WinDivertCompressed = Join-Path $TmpDir "windivert.zip" -$AndroidToolsCompressed = Join-Path $TmpDir "android-platform-tools.zip" +$AndroidPlatformToolsCompressed = Join-Path $TmpDir "android-platform-tools.zip" # ================================ # DOWNLOAD PHASE @@ -564,18 +564,18 @@ try { Write-Host "[*] windivert component not selected. Skipping download." } - # Android Platform Tools (component: android_tools) - if (Test-ComponentSelected -Name "android_tools") { - $url = Get-DownloadUrl -Component "android_tools" -Arch $arch + # Android Platform Tools (component: android_platform_tools) + if (Test-ComponentSelected -Name "android_platform_tools") { + $url = Get-DownloadUrl -Component "android_platform_tools" -Arch $arch if ($url) { - Download-File -Url $url -DestinationPath $AndroidToolsCompressed + Download-File -Url $url -DestinationPath $AndroidPlatformToolsCompressed } else { - Write-Host "[*] android_tools URL not available. Skipping download." + Write-Host "[*] android_platform_tools URL not available. Skipping download." } } else { - Write-Host "[*] android_tools component not selected. Skipping download." + Write-Host "[*] android_platform_tools component not selected. Skipping download." } } catch {