Don't let the launcher scripts close the console window
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user