Explorar o código

Moved the startdb.bat from the mariadb folder to the base dir via wget on first run to make things easier

devn00b %!s(int64=3) %!d(string=hai) anos
pai
achega
9767882619
Modificáronse 3 ficheiros con 6 adicións e 3 borrados
  1. 2 3
      LAUNCH EQ2EMU.bat
  2. BIN=BIN
      LAUNCH EQ2EMU.rar
  3. 4 0
      startdb.bat

+ 2 - 3
LAUNCH EQ2EMU.bat

@@ -112,12 +112,11 @@ if /I "%MAPUPDATE%" EQU "1" echo [Completed MAP Updates]
 if /I "%MAPUPDATE%" EQU "1" cd ..
 
 echo [Loading MariaDB]
-cd mariadb\bin
-start db.bat
+if /I "%FIRSTRUN%" EQU "1" wget -q --no-check-certificate https://www.zeklabs.com/dl/startdb.bat
+start startdb.bat
 echo [You Can Press Any Key To Continue Once MYSQL has Completed Loading]
 timeout /t 60
 echo [MariaDB Loaded]
-cd ..\..
 
 if /I "%LSUPDATE%" EQU "1" echo [Updating LoginServer SQL]
 if /I "%LSUPDATE%" EQU "1" cd server

BIN=BIN
LAUNCH EQ2EMU.rar


+ 4 - 0
startdb.bat

@@ -0,0 +1,4 @@
+@echo off
+cd mariadb\bin
+mysqld --defaults-file=my-large.ini --console --standalone
+cd ..\..