mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-11 03:42:31 -05:00
Make .bat files default to highest 3.* installation
This commit is contained in:
@@ -8,7 +8,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
|
||||
timeout 3
|
||||
GOTO loopstart
|
||||
|
||||
@@ -16,7 +16,7 @@ GOTO loopstart
|
||||
:attempt
|
||||
py.exe --version > NUL 2>&1
|
||||
IF %ERRORLEVEL% NEQ 0 GOTO lastattempt
|
||||
py.exe -3.5 red.py
|
||||
py.exe -3 red.py
|
||||
timeout 3
|
||||
GOTO loopstart
|
||||
|
||||
@@ -29,9 +29,9 @@ timeout 3
|
||||
GOTO loopstart
|
||||
|
||||
: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
|
||||
|
||||
Reference in New Issue
Block a user