Merge branch '2.0' into 'master'

updated upadte.bat



See merge request !3
This commit is contained in:
Karl 2016-02-06 06:20:29 -05:00
commit 97e49ca9d7
10 changed files with 36 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -172,6 +172,39 @@ findstr "localversion" config.php >nul 2>&1
goto END goto END
:END :END
rem Add headphones
findstr "headvisible" config.php >nul 2>&1
if errorlevel 1 goto ONE
if errorlevel 0 goto ZERO
goto END
:ZERO
echo Headphones Already Updated
goto END
:ONE
echo ^<?php >>config.php
echo //// Headphones Settings >> config.php
echo $headvisible = "0"; >> config.php
echo $headname = ""; >> config.php
echo $headpicname = ""; >> config.php
echo $headport = "8181"; >> config.php
echo //// >> config.php
echo ^?^> >> config.php
echo ^<?php >>config.php
echo if (empty($headname)) { >> config.php
echo $headname= "HeadPhones"; >> config.php
echo } else { >> config.php
echo $headname= "$headname"; >> config.php
echo } >> config.php
echo ^?^> >> config.php
echo Headphones Updated
goto END
:END
rem Update Version rem Update Version
findstr "localversion" config.php >nul 2>&1 findstr "localversion" config.php >nul 2>&1
@ -193,8 +226,8 @@ findstr "localversion" config.php >nul 2>&1
goto END goto END
:END :END
:ONE :ONE
cscript replace.vbs "config.php" "1.6" "1.7" cscript replace.vbs "config.php" "1.7" "2.0"
echo Version Updated to 1.7 echo Version Updated to 2.0
goto END goto END
:END :END

View File

@ -1,4 +1,4 @@
<?php <?php
//// KLANDING VERSION //// KLANDING VERSION
$remoteversion = "1.7"; // $remoteversion = "2.0"; //
?> ?>