fixed bug in the install_software function and using now the newest version of nodejs currently available

This commit is contained in:
GlenDC 2014-02-03 00:01:41 +01:00
parent 9912039a1b
commit 1020a97fa1
3 changed files with 7 additions and 7 deletions

View file

@ -1,2 +1,2 @@
http://nodejs.org/dist/v0.10.24/node-v0.10.24-x86.msi
http://nodejs.org/dist/v0.10.25/node-v0.10.25-x86.msi
http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct

View file

@ -1,2 +1,2 @@
http://nodejs.org/dist/v0.10.24/x64/node-v0.10.24-x64.msi
http://nodejs.org/dist/v0.10.25/x64/node-v0.10.25-x64.msi
http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct

View file

@ -81,7 +81,7 @@ call:log_lw_sse 2
call:log_lw_sse 3
call:install_software "git" "%%downloads[1]%%"
call:install_software "git" "%%downloads[1]%%" exe
:: [TODO] Add downloads for windows visual studio ?!
@ -107,9 +107,9 @@ goto:eof
:download_install_architecture_specific_software
call:log_ds "%~1-bit computer detected..."
call:install_software "node-js" "%%downloads_%~1[1]%%"
call:install_software "node-js" "%%downloads_%~1[1]%%" msi
call:draw_dss
call:install_software "ruby" "%%downloads_%~1[2]%%"
call:install_software "ruby" "%%downloads_%~1[2]%%" exe
instal_swv_software %~1
goto:eof
@ -173,10 +173,10 @@ goto END
:install_software
call:get_lw word 4
call:log "%word% %~1..."
%curl-app% -sS %~2 -o %temp-dir%\%~1-setup.exe
%curl-app% -sS -k %~2 -o %temp-dir%\%~1-setup.%~3
call:get_lw word 5
call:log "%word% %~1..."
START /WAIT %temp-dir%\%~1-setup.exe
START /WAIT %temp-dir%\%~1-setup.%~3
goto:eof
:: ============================== FUNCTIONS ====================================