forked from ScoopInstaller/Main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathandroid-clt.json
38 lines (38 loc) · 1.34 KB
/
android-clt.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"version": "8512546",
"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-8512546_latest.zip",
"hash": "9cea28ab5d8c2f4b607f91f1475c4f352f42702c42f53eee1e331d9e36eea572",
"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)"
}
}
}