Browse Source

Batch file for Windows Mapcache users

* Closes #1908
Signed-off-by: Akkarinage <akkarin@rathena.org>
Akkarinage 8 years ago
parent
commit
196017c9c4
2 changed files with 3 additions and 0 deletions
  1. 2 0
      mapcache.bat
  2. 1 0
      serv.bat

+ 2 - 0
mapcache.bat

@@ -0,0 +1,2 @@
+@ECHO OFF
+CALL serv.bat mapcache.exe Map-Cache

+ 1 - 0
serv.bat

@@ -24,6 +24,7 @@ REM Windows 2000, XP, Vista, 7
 :RESTART_NT
 :RESTART_NT
 REM There is no CHOICE in 2000 and XP, but you get asked whether to
 REM There is no CHOICE in 2000 and XP, but you get asked whether to
 REM abort the batch file, when pressing Ctrl+C in PING.
 REM abort the batch file, when pressing Ctrl+C in PING.
+IF "%1"=="mapcache.exe" GOTO END
 ECHO Restarting in 15 seconds, press Ctrl+C to cancel.
 ECHO Restarting in 15 seconds, press Ctrl+C to cancel.
 PING -n 15 127.0.0.1 > NUL
 PING -n 15 127.0.0.1 > NUL