aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2009-10-12 15:20:52 -0700
committerRaphael <raphael@google.com>2009-10-12 15:20:52 -0700
commit39233eb10ff4057365d12287d8b1b7904985be2b (patch)
tree08ff2c208de59d77c01a47dc1decf604ade3fa14 /sdkmanager
parent4c40a82d74cc04dae7bfa03a2d2fdb51fc3f9a90 (diff)
downloadsdk-39233eb10ff4057365d12287d8b1b7904985be2b.zip
sdk-39233eb10ff4057365d12287d8b1b7904985be2b.tar.gz
sdk-39233eb10ff4057365d12287d8b1b7904985be2b.tar.bz2
SDK: Support "android.bat update sdk"
This ammends the batch file to recognize "android update sdk" to start the updater UI. SDK BUG 2173128 2173150 Change-Id: I3a2b9df9a3c52aa86bf34d05389c4034d60d57dc
Diffstat (limited to 'sdkmanager')
-rwxr-xr-xsdkmanager/app/etc/android.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdkmanager/app/etc/android.bat b/sdkmanager/app/etc/android.bat
index 5a75dfa..239ed81 100755
--- a/sdkmanager/app/etc/android.bat
+++ b/sdkmanager/app/etc/android.bat
@@ -32,7 +32,9 @@ set jarpath=lib\sdkmanager.jar
rem Set SWT.Jar path based on current architecture (x86 or x86_64)
for /f %%a in ('java -jar lib\archquery.jar') do set swt_path=lib\%%a
+if "%1 %2"=="update sdk" goto StartUi
if not "%1"=="" goto EndTempCopy
+:StartUi
echo Starting Android SDK and AVD Manager
rem We're now going to create a temp dir to hold all the Jar files needed