From 6bcf46a31779a22980ea4d8fccb1145b9da69c9f Mon Sep 17 00:00:00 2001 From: Karl Hudgell Date: Sat, 12 Dec 2015 11:12:08 +0000 Subject: [PATCH] kris url --- Update.bat | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Update.bat b/Update.bat index 170043c..7a1c135 100644 --- a/Update.bat +++ b/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 \ No newline at end of file