ScoopInstaller_Main/bucket/android-clt.json
2021-07-29 01:00:29 +00:00

39 lines
1.3 KiB
JSON

{
"version": "7583922",
"description": "The official Android command line tools",
"homepage": "https://developer.android.com/studio#command-tools",
"license": {
"identifier": "Freeware",
"url": "https://developer.android.com/studio/terms.html"
},
"notes": "You need to launch sdkmanager with --sdk_root=$env:ANDROID_SDK_ROOT.",
"url": "https://dl.google.com/android/repository/commandlinetools-win-7583922_latest.zip",
"hash": "f9e6f91743bcb1cc6905648ca751bc33975b0dd11b50d691c2085d025514278c",
"post_install": [
"if (Test-Path \"$(appdir adb $global)\") {",
" New-Item \"$dir\\platform-tools\" -ItemType Junction -Target \"$(appdir adb $global)\\current\\platform-tools\" | Out-Null",
"}"
],
"env_add_path": "tools\\bin",
"env_set": {
"ANDROID_SDK_ROOT": "$dir"
},
"persist": [
"build-tools",
"emulator",
"extras",
"licenses",
"patcher",
"platforms",
"sources"
],
"checkver": "commandlinetools-win-(\\d+)",
"autoupdate": {
"url": "https://dl.google.com/android/repository/commandlinetools-win-$version_latest.zip",
"hash": {
"url": "https://developer.android.com/studio",
"regex": "commandlinetools-win(?:.*\\n){3}.*<td>($sha256)"
}
}
}