mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 12:11:21 +00:00
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"version": "6858069",
|
|
"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-6858069_latest.zip",
|
|
"hash": "d2f6c9bb7db0362995c0b8dd2fd5949ce23c1dccb7f9392350b5e29b6d5fec7d",
|
|
"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)"
|
|
}
|
|
}
|
|
}
|