KLanding/Update.bat
2015-12-04 18:04:57 +00:00

17 lines
593 B
Batchfile

git.exe pull
findstr "http://webclip.ml" config.php >nul 2>&1
if errorlevel 1 echo Already Updated
if errorlevel 0 cscript replace.vbs "config.php" "http://webclip.ml" "http://klips.cf"
findstr "http://k-loud.cf" config.php >nul 2>&1
if errorlevel 1 echo Already Updated
if errorlevel 0 cscript replace.vbs "config.php" "http://k-loud.cf" "http://k-loud.tk"
findstr "knews.cf" config.php >nul 2>&1
if errorlevel 1 findstr "k-loud.cf" config.php >nul 2>&1
if errorlevel 1 findstr "konvos.cf" config.php >nul 2>&1
if errorlevel 1 ImportLines.bat
if errorlevel 0 echo Complete
ImportLines.bat