Update go to 1.22.3 for windows

This commit is contained in:
2024-05-15 19:18:08 +10:00
parent c9eb79df59
commit 74e97d8208
2 changed files with 10 additions and 8 deletions
+5 -3
View File
@@ -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%