You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup-windows.bat
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ IF /I "%1"=="/mobilecli" SET install[mobilecli]=1
37
37
IF /I "%1"=="/androidstudio"SETinstall[androidstudio]=1
38
38
IF /I "%1"=="/docker"SETinstall[docker]=1
39
39
IF /I "%1"=="/vmware"SETinstall[vmware]=1
40
+
IF /I "%1"=="/yq"SETinstall[yq]=1
40
41
SHIFT
41
42
GOTO loop_process_args
42
43
:end_loop_process_args
@@ -152,6 +153,7 @@ SET install[mobilecli]=0
152
153
SETinstall[androidstudio]=0
153
154
SETinstall[docker]=0
154
155
SETinstall[vmware]=0
156
+
SETinstall[yq]=0
155
157
GOTO :eof
156
158
157
159
:INSTALL_EVERYTHING
@@ -171,6 +173,7 @@ SET install[mobilecli]=1
171
173
SETinstall[androidstudio]=0
172
174
SETinstall[docker]=0
173
175
SETinstall[vmware]=0
176
+
SETinstall[yq]=1
174
177
GOTO :eof
175
178
176
179
@@ -320,6 +323,7 @@ SET mobilecli=11
320
323
SETandroidstudio=12
321
324
SETdocker=13
322
325
SETvmware=14
326
+
SETyq=15
323
327
324
328
CALL :PROCESS_ARGS%*
325
329
@@ -376,11 +380,16 @@ IF !install[python2]! EQU 1 (
376
380
ECHO.
377
381
ECHO install python2
378
382
CALL :CHOCO_INSTALL python2 python
383
+
CALL :CHOCO_INSTALL pip
384
+
SET"PATH=%PATH%;C:\Python27\Scripts
379
385
)
380
386
IF !install[python3]! EQU 1 (
381
387
ECHO.
382
388
ECHO install python3
383
389
CALL :CHOCO_INSTALL python3 python3
390
+
CALL :CHOCO_INSTALL pip
391
+
SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolate
392
+
SET"PATH=%PATH%;C:\Python37\Scripts
384
393
)
385
394
386
395
IF !install[predixcli]! EQU 1 (
@@ -401,6 +410,13 @@ IF !install[docker]! EQU 1 (
401
410
IF !install[vmware]! EQU 1 (
402
411
CALL :INSTALL_VMWARE
403
412
)
413
+
414
+
IF !install[yq]! EQU 1 (
415
+
ECHO.
416
+
ECHO install yq
417
+
pip install yq
418
+
)
419
+
404
420
POPD
405
421
ECHO.
406
422
ECHO Installation of tools completed. If your script has completed, close this administrator command window and open a new non-administrator prompt and proceed.
0 commit comments