Update go to 1.22.3 for windows
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
set root_path=%devenver_root%\NodeJS
|
||||
set version=%~1
|
||||
for /f "tokens=1,* delims= " %%a in ("%*") do set remaining_args=%%b
|
||||
|
||||
set root_path=%devenver_root%\NodeJS
|
||||
set bin_path=%root_path%\%version%
|
||||
|
||||
if "%~1"=="help" goto :help
|
||||
if "%~1"=="" goto :help
|
||||
if "%~1"=="--help" goto :help
|
||||
@@ -18,6 +20,6 @@ ls %root_path%
|
||||
goto :eof
|
||||
|
||||
:run
|
||||
echo [SCRIPT] Adding to path '%root_path%\%version%' and executing '%remaining_args%'
|
||||
set PATH=%root_path%\%version%;%PATH%
|
||||
echo [SCRIPT] Adding to path '%bin_path%' and executing '%remaining_args%'
|
||||
set PATH=%bin_path%;%PATH%
|
||||
%remaining_args%
|
||||
|
||||
Reference in New Issue
Block a user