|
@@ -12,15 +12,17 @@ echo 1) Update SQL.
|
|
|
echo 2) Update LUA.
|
|
|
echo 3) Update EXEs.
|
|
|
echo 4) Update MAPs.
|
|
|
-echo 5) Full Rebuild (update DB/LUA/SQL/MAPS after delete. This will take a long time.).
|
|
|
-echo 6) Exit.
|
|
|
+echo 5) Update Startup Script.
|
|
|
+echo 6) Full Rebuild (update DB/LUA/SQL/MAPS after delete. This will take a long time.).
|
|
|
+
|
|
|
+echo x) Exit.
|
|
|
|
|
|
set /p option=What would you like to do?
|
|
|
|
|
|
rem Parse User input.
|
|
|
if /I "%OPTION%" EQU "1" echo [Checking for SQL Updates]
|
|
|
-rem if /I "%OPTION%" EQU "1" wget -q -N https://zeklabs.com/dl/eq2emudb.rar
|
|
|
-rem if /I "%OPTION%" EQU "1" unrar x -y -inul eq2emudb.rar
|
|
|
+if /I "%OPTION%" EQU "1" wget -q -N https://zeklabs.com/dl/eq2emudb.rar
|
|
|
+if /I "%OPTION%" EQU "1" unrar x -y -inul eq2emudb.rar
|
|
|
if /I "%OPTION%" EQU "1" echo [Completed SQL Updates]
|
|
|
|
|
|
if /I "%OPTION%" EQU "2" echo [Checking for LUA Updates]
|
|
@@ -49,12 +51,18 @@ if /I "%OPTION%" EQU "4" del eq2emumaps.rar
|
|
|
if /I "%OPTION%" EQU "4" echo [Completed MAP Updates]
|
|
|
if /I "%OPTION%" EQU "4" cd ..\
|
|
|
|
|
|
-if /I "%OPTION%" EQU "5" echo [Starting the reset script]
|
|
|
-if /I "%OPTION%" EQU "5" cd options
|
|
|
-if /I "%OPTION%" EQU "5" start reset.bat
|
|
|
+if /I "%OPTION%" EQU "5" echo [Updating Startup Script]
|
|
|
+if /I "%OPTION%" EQU "5" del /f /q "LAUNCH EQ2EMU.bat"
|
|
|
+if /I "%OPTION%" EQU "5" wget -q "http://cutpon.com:3000/devn00b/EQ2EMu-Installer/src/master/LAUNCH EQ2EMU.bat"
|
|
|
+if /I "%OPTION%" EQU "5" echo [Updated Startup Script]
|
|
|
+
|
|
|
+if /I "%OPTION%" EQU "6" echo [Starting the reset script]
|
|
|
+if /I "%OPTION%" EQU "6" cd options
|
|
|
+if /I "%OPTION%" EQU "6" start reset.bat
|
|
|
+
|
|
|
|
|
|
rem exit script
|
|
|
-if /I "%OPTION%" EQU "6" goto:eof
|
|
|
+if /I "%OPTION%" EQU "x" goto:eof
|
|
|
|
|
|
rem User input complete actions completed or are running in another window lets return to the menu for more options
|
|
|
goto menu
|