Make .bat files default to highest 3.* installation

This commit is contained in:
Twentysix
2016-12-27 00:27:10 +01:00
parent c7284ffa2a
commit 607f88cf75
3 changed files with 14 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ pushd %~dp0
::Attempts to start py launcher without relying on PATH
%SYSTEMROOT%\py.exe --version > NUL 2>&1
IF %ERRORLEVEL% NEQ 0 GOTO attempt
%SYSTEMROOT%\py.exe -3.5 red.py
%SYSTEMROOT%\py.exe -3 red.py
PAUSE
GOTO end
@@ -14,7 +14,7 @@ GOTO end
:attempt
py.exe --version > NUL 2>&1
IF %ERRORLEVEL% NEQ 0 GOTO lastattempt
py.exe -3.5 red.py
py.exe -3 red.py
PAUSE
GOTO end
@@ -27,9 +27,9 @@ PAUSE
GOTO end
:message
echo Couldn't find a valid Python 3.5 installation. Python needs to be installed and available in the PATH environment
echo variable.
echo Couldn't find a valid Python ^>3.5 installation. Python needs to be installed and available in the PATH environment
echo variable.
echo https://twentysix26.github.io/Red-Docs/red_win_requirements/#software
PAUSE
:end
:end