From dcc527abb1b89163409920a3775f9a80bb2972a3 Mon Sep 17 00:00:00 2001 From: CorpNewt <12772521+corpnewt@users.noreply.github.com> Date: Fri, 9 Feb 2024 10:15:40 -0600 Subject: [PATCH] Update brigadier.bat --- brigadier.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/brigadier.bat b/brigadier.bat index 929b303..1bdf78a 100644 --- a/brigadier.bat +++ b/brigadier.bat @@ -91,6 +91,7 @@ call :updatepath for /f "USEBACKQ tokens=*" %%x in (`!syspath!where.exe python 2^> nul`) do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" ) for /f "USEBACKQ tokens=*" %%x in (`!syspath!where.exe python3 2^> nul`) do ( call :checkpyversion "%%x" "py2v" "py2path" "py3v" "py3path" ) for /f "USEBACKQ tokens=*" %%x in (`!syspath!where.exe py 2^> nul`) do ( call :checkpylauncher "%%x" "py2v" "py2path" "py3v" "py3path" ) +REM Walk our returns to see if we need to install if /i "!use_py3!" == "FALSE" ( set "targetpy=2" set "pypath=!py2path!"