mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
More py check fixes
This commit is contained in:
parent
8a2cbdf800
commit
c4b9693b82
1 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,11 @@ set "python="
|
|||
FOR /F "tokens=* USEBACKQ" %%F IN (`python -V 2^>^&1`) DO (
|
||||
set "t=%%F"
|
||||
if /i "!t:~0,6!" == "python" (
|
||||
set "python=%%F"
|
||||
REM Might have python installed - let's check for the store message
|
||||
if /i "!t:was not found=!" == "!t!" (
|
||||
REM There was no change - we found it.
|
||||
set "python=%%F"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue