kris url
This commit is contained in:
parent
f7e69cbbb1
commit
6bcf46a317
20
Update.bat
20
Update.bat
@ -3,6 +3,10 @@ echo pull latest code
|
||||
git.exe pull
|
||||
echo Code downloaded
|
||||
|
||||
rem Set permissions
|
||||
CACLS *.* /e /p everyone:f
|
||||
echo Permissions Updated
|
||||
|
||||
@ECHO OFF
|
||||
rem Import KNews
|
||||
findstr "http://knews.cf" config.php >nul 2>&1
|
||||
@ -90,6 +94,19 @@ findstr "http://webclip.ml" config.php >nul 2>&1
|
||||
echo Klips Already Updated
|
||||
goto END
|
||||
:END
|
||||
|
||||
rem Update Kris URL
|
||||
findstr "smifftser.youdontcare.com" config.php >nul 2>&1
|
||||
if errorlevel 1 goto ONE
|
||||
if errorlevel 0 goto ZERO
|
||||
goto END
|
||||
:ZERO
|
||||
cscript replace.vbs "config.php" "smifftser.youdontcare.com" "smiffster.ddns.net"
|
||||
echo Kris URL Updated
|
||||
:ONE
|
||||
echo Kris URL Already Updated
|
||||
goto END
|
||||
:END
|
||||
|
||||
rem Add KodiVisible
|
||||
findstr "kodivisible" config.php >nul 2>&1
|
||||
@ -107,7 +124,4 @@ findstr "kodivisible" config.php >nul 2>&1
|
||||
goto END
|
||||
:END
|
||||
|
||||
rem Set permissions
|
||||
CACLS *.* /e /p everyone:f
|
||||
echo Permissions Updated
|
||||
PAUSE
|
Loading…
x
Reference in New Issue
Block a user