mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 22:31:19 +00:00
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"version": "8092744",
|
|
"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-8092744_latest.zip",
|
|
"hash": "5de99ed67cb2e30fe443baf8b282d1b0b6247d0c25c6d888a7e8657b3b35c281",
|
|
"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": "cmdline-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)"
|
|
}
|
|
}
|
|
}
|