mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 20:34:03 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										27
									
								
								Tweaks/Alderis/postinst
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										27
									
								
								Tweaks/Alderis/postinst
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| #!/bin/sh | ||||
| set -e | ||||
|  | ||||
| # Install the right version 🙁 | ||||
| cf_version=$(printf "%.0f" $(cfversion)) | ||||
| if [ $cf_version -ge 1750 ]; then | ||||
| 	tag=ios14 | ||||
| else | ||||
| 	tag=ios12 | ||||
| fi | ||||
|  | ||||
| if [ -e /Library/Frameworks/Alderis.framework/Alderis ]; then | ||||
| 	rm /Library/Frameworks/Alderis.framework/Alderis | ||||
| fi | ||||
| ln -s Alderis-$tag /Library/Frameworks/Alderis.framework/Alderis | ||||
|  | ||||
| # Tell the package manager to restart system app (SpringBoard) after installation. | ||||
| if ! [ -z "$CYDIA" ]; then | ||||
| 	read -r fd ver <<EOT | ||||
| $CYDIA | ||||
| EOT | ||||
| 	if [ "$ver" -ge 1 ]; then | ||||
| 		echo "finish:restart" >&$fd | ||||
| 	fi | ||||
| fi | ||||
|  | ||||
| exit 0 | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn