Skip to content

Commit fa888a2

Browse files
Release 1.0.102
1 parent 4e9c877 commit fa888a2

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

setup-windows.bat

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ IF /I "%1"=="/mobilecli" SET install[mobilecli]=1
3737
IF /I "%1"=="/androidstudio" SET install[androidstudio]=1
3838
IF /I "%1"=="/docker" SET install[docker]=1
3939
IF /I "%1"=="/vmware" SET install[vmware]=1
40+
IF /I "%1"=="/yq" SET install[yq]=1
4041
SHIFT
4142
GOTO loop_process_args
4243
:end_loop_process_args
@@ -152,6 +153,7 @@ SET install[mobilecli]=0
152153
SET install[androidstudio]=0
153154
SET install[docker]=0
154155
SET install[vmware]=0
156+
SET install[yq]=0
155157
GOTO :eof
156158

157159
:INSTALL_EVERYTHING
@@ -171,6 +173,7 @@ SET install[mobilecli]=1
171173
SET install[androidstudio]=0
172174
SET install[docker]=0
173175
SET install[vmware]=0
176+
SET install[yq]=1
174177
GOTO :eof
175178

176179

@@ -320,6 +323,7 @@ SET mobilecli=11
320323
SET androidstudio=12
321324
SET docker=13
322325
SET vmware=14
326+
SET yq=15
323327

324328
CALL :PROCESS_ARGS %*
325329

@@ -376,11 +380,16 @@ IF !install[python2]! EQU 1 (
376380
ECHO.
377381
ECHO install python2
378382
CALL :CHOCO_INSTALL python2 python
383+
CALL :CHOCO_INSTALL pip
384+
SET "PATH=%PATH%;C:\Python27\Scripts
379385
)
380386
IF !install[python3]! EQU 1 (
381387
ECHO.
382388
ECHO install python3
383389
CALL :CHOCO_INSTALL python3 python3
390+
CALL :CHOCO_INSTALL pip
391+
SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolate
392+
SET "PATH=%PATH%;C:\Python37\Scripts
384393
)
385394
386395
IF !install[predixcli]! EQU 1 (
@@ -401,6 +410,13 @@ IF !install[docker]! EQU 1 (
401410
IF !install[vmware]! EQU 1 (
402411
CALL :INSTALL_VMWARE
403412
)
413+
414+
IF !install[yq]! EQU 1 (
415+
ECHO.
416+
ECHO install yq
417+
pip install yq
418+
)
419+
404420
POPD
405421
ECHO.
406422
ECHO Installation of tools completed. If your script has completed, close this administrator command window and open a new non-administrator prompt and proceed.

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "local setup",
3-
"version": "1.0.101",
3+
"version": "1.0.102",
44
"private": true,
55
"dependencies": {},
66
"author": "rishabhtulsian"

0 commit comments

Comments
 (0)