mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-04-21 12:31:48 +00:00
Fixes for dummy python.exe
This commit is contained in:
+3
-3
@@ -50,7 +50,7 @@ goto checkpy
|
||||
|
||||
:checkpy
|
||||
REM Get python location
|
||||
FOR /F "tokens=* USEBACKQ" %%F IN (`where python 2^> nul`) DO (
|
||||
FOR /F "tokens=* USEBACKQ" %%F IN (`python -V 2^> nul`) DO (
|
||||
SET "python=%%F"
|
||||
)
|
||||
|
||||
@@ -200,8 +200,8 @@ exit /b
|
||||
REM Python found
|
||||
cls
|
||||
if "%*"=="" (
|
||||
"!python!" "!thisDir!!script_name!"
|
||||
python "!thisDir!!script_name!"
|
||||
) else (
|
||||
"!python!" "!thisDir!!script_name!" %*
|
||||
python "!thisDir!!script_name!" %*
|
||||
)
|
||||
goto :EOF
|
||||
|
||||
Reference in New Issue
Block a user