Don't let the launcher scripts close the console window

This commit is contained in:
abcdefg30
2017-05-26 09:27:55 +02:00
committed by reaperrr
parent 27ce2fcda9
commit 57af145c12
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ for %%x in (%*) do (
:choosemod
set /P mod=Select mod (ra, cnc, d2k, ts) or --exit:
if /I "%mod%" EQU "--exit" (exit)
if /I "%mod%" EQU "--exit" (exit /b)
if /I "%mod%" EQU "ra" (goto launchmod)
if /I "%mod%" EQU "cnc" (goto launchmod)
if /I "%mod%" EQU "ts" (goto launchmod)

View File

@@ -6,7 +6,7 @@ echo.
call OpenRA.Utility.exe
echo Enter --exit to exit
set /P mod=Please enter a modname: OpenRA.Utility.exe
if /I "%mod%" EQU "--exit" (exit)
if /I "%mod%" EQU "--exit" (exit /b)
if /I "%mod%" EQU "ra" (goto help)
if /I "%mod%" EQU "cnc" (goto help)
if /I "%mod%" EQU "ts" (goto help)
@@ -31,7 +31,7 @@ echo --help to view the help
echo --mod to choose a new mod
echo.
set /P command=Please enter a command: OpenRA.Utility.exe %mod%
if /I "%command%" EQU "--exit" (exit)
if /I "%command%" EQU "--exit" (exit /b)
if /I "%command%" EQU "--help" (goto help)
if /I "%command%" EQU "--mod" (goto choosemod)
echo.