Skip to content

Commit

Permalink
Restore trailing whitespaces to windows batch scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
abcdefg30 authored and Mailaender committed May 26, 2020
1 parent f132bac commit 7a0e55a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion launch-game.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ for %%x in (%*) do (
)

:choosemod
set /P mod=Select mod (ra, cnc, d2k, ts) or --exit:
set /P mod="Select mod (ra, cnc, d2k, ts) or --exit: "
if /I "%mod%" EQU "--exit" (exit /b)
if "%mod%" EQU "ra" (goto launchmod)
if "%mod%" EQU "cnc" (goto launchmod)
Expand Down
4 changes: 2 additions & 2 deletions utility.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo ----------------------------------------
echo.
call OpenRA.Utility.exe
echo Enter --exit to exit
set /P mod=Please enter a modname: OpenRA.Utility.exe
set /P mod="Please enter a modname: OpenRA.Utility.exe "
if /I "%mod%" EQU "--exit" (exit /b)
if /I "%mod%" EQU "ra" (goto help)
if /I "%mod%" EQU "cnc" (goto help)
Expand All @@ -30,7 +30,7 @@ echo --exit to exit
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%
set /P command="Please enter a command: OpenRA.Utility.exe %mod% "
if /I "%command%" EQU "--exit" (exit /b)
if /I "%command%" EQU "--help" (goto help)
if /I "%command%" EQU "--mod" (goto choosemod)
Expand Down

0 comments on commit 7a0e55a

Please sign in to comment.