commit
f1489acfd8
22
Update.bat
22
Update.bat
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user