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
|
git.exe pull
|
||||||
echo Code downloaded
|
echo Code downloaded
|
||||||
|
|
||||||
|
rem Set permissions
|
||||||
|
CACLS *.* /e /p everyone:f
|
||||||
|
echo Permissions Updated
|
||||||
|
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
rem Import KNews
|
rem Import KNews
|
||||||
findstr "http://knews.cf" config.php >nul 2>&1
|
findstr "http://knews.cf" config.php >nul 2>&1
|
||||||
@ -91,6 +95,19 @@ findstr "http://webclip.ml" config.php >nul 2>&1
|
|||||||
goto END
|
goto END
|
||||||
: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
|
rem Add KodiVisible
|
||||||
findstr "kodivisible" config.php >nul 2>&1
|
findstr "kodivisible" config.php >nul 2>&1
|
||||||
if errorlevel 1 goto ONE
|
if errorlevel 1 goto ONE
|
||||||
@ -107,7 +124,4 @@ findstr "kodivisible" config.php >nul 2>&1
|
|||||||
goto END
|
goto END
|
||||||
:END
|
:END
|
||||||
|
|
||||||
rem Set permissions
|
|
||||||
CACLS *.* /e /p everyone:f
|
|
||||||
echo Permissions Updated
|
|
||||||
PAUSE
|
PAUSE
|
Loading…
x
Reference in New Issue
Block a user