Merge branch '2.0' into 'master'

update.bat



See merge request !6
This commit is contained in:
Karl 2016-02-06 13:54:32 -05:00
commit f1489acfd8

View File

@ -199,7 +199,27 @@ findstr "headvisible" config.php >nul 2>&1
echo Headphones Updated
goto END
:END
rem Add widget
findstr "widgetbackgroud" config.php >nul 2>&1
if errorlevel 1 goto ONE
if errorlevel 0 goto ZERO
goto END
:ZERO
echo Custom Widget Already Updated
goto END
:ONE
echo ^<?php >>config.php
echo //// Widget Settings >> config.php
echo $widgetbackgroud = "0"; >> config.php
echo $customwidgetbackgroud = "0"; >> config.php
echo $widgetbackgroudcolour = ""; >> config.php
echo //// >> config.php
echo ^?^> >> config.php
echo Custom Widget Updated
goto END
:END
rem Update Version
findstr "localversion" config.php >nul 2>&1
if errorlevel 1 goto ONE