Update gibMacOS.bat

This commit is contained in:
CorpNewt 2024-02-07 15:29:28 -06:00 committed by GitHub
parent eadcf01e39
commit abc5b32ffa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,11 @@ set "just_installing=FALSE"
REM Get the system32 (or equivalent) path REM Get the system32 (or equivalent) path
call :getsyspath "syspath" call :getsyspath "syspath"
if "%~1" == "--install-python" (
set "just_installing=TRUE"
goto installpy
)
REM Make sure the syspath exists REM Make sure the syspath exists
if "!syspath!" == "" ( if "!syspath!" == "" (
if exist "%SYSTEMROOT%\system32\cmd.exe" ( if exist "%SYSTEMROOT%\system32\cmd.exe" (
@ -58,11 +63,6 @@ if "!syspath!" == "" (
) )
) )
if "%~1" == "--install-python" (
set "just_installing=TRUE"
goto installpy
)
goto checkscript goto checkscript
:checkscript :checkscript