update.bat
This commit is contained in:
		
							parent
							
								
									9f4ac346dd
								
							
						
					
					
						commit
						d85bde05e0
					
				
							
								
								
									
										22
									
								
								Update.bat
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								Update.bat
									
									
									
									
									
								
							@ -199,7 +199,27 @@ findstr "headvisible" config.php >nul 2>&1
 | 
				
			|||||||
     echo Headphones Updated
 | 
					     echo Headphones Updated
 | 
				
			||||||
	 goto END
 | 
						 goto END
 | 
				
			||||||
   :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
 | 
					   rem Update Version
 | 
				
			||||||
findstr "localversion" config.php >nul 2>&1
 | 
					findstr "localversion" config.php >nul 2>&1
 | 
				
			||||||
   if errorlevel 1 goto ONE
 | 
					   if errorlevel 1 goto ONE
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user