Avoid double pause in Launch.cmd
If Launch.cmd aborted it would cause the launcher to abort as well. If the error was handled by Launch.cmd then we can assume the launcher ran correctly.
This commit is contained in:
parent
aef692dddf
commit
19f744f8f8
1 changed files with 2 additions and 2 deletions
|
|
@ -500,9 +500,9 @@ echo. DEBUG: %DEBUG%
|
|||
echo. PYTHON: %PYTHON%
|
||||
echo Press any key to exit...
|
||||
pause>nul
|
||||
rem reset color and reset errorlevel to 0
|
||||
rem NOTE: This is done to avoid causing a ErrorLaunchCMD in the launcher.cmd
|
||||
color
|
||||
rem Set errorlevel to 1 by calling color incorrectly
|
||||
color 00
|
||||
goto Exit
|
||||
|
||||
:: Cleanup and exit ::
|
||||
|
|
|
|||
Loading…
Reference in a new issue