mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-13 12:11:21 +00:00
android-clt: Add version 6609375 (#1362)
This commit is contained in:
parent
96c132d2ea
commit
d0158025da
40
bucket/android-clt.json
Normal file
40
bucket/android-clt.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"version": "6609375",
|
||||
"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-6609375_latest.zip",
|
||||
"hash": "40bba20275180194bebf89bb58c74d712bb93cc401f36bd2f8f32383acf9826c",
|
||||
"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": {
|
||||
"regex": "commandlinetools-win-(\\d+)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://dl.google.com/android/repository/commandlinetools-win-$version_latest.zip",
|
||||
"hash": {
|
||||
"url": "https://developer.android.com/studio",
|
||||
"find": "commandlinetools-win(?:.*\\n){3}.*<td>($sha256)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user