Add files via upload
This commit is contained in:
		
							
								
								
									
										42
									
								
								procursus-migration.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								procursus-migration.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					if [ "$EUID" -ne 0 ]; then
 | 
				
			||||||
 | 
					echo You need to run this script as root.
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					clear
 | 
				
			||||||
 | 
					echo "Uncursus 2.0 Migration Part By Yaya4_4 1.0(Beta3)"
 | 
				
			||||||
 | 
					echo "Checking iOS Version"
 | 
				
			||||||
 | 
					VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
 | 
				
			||||||
 | 
					if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then
 | 
				
			||||||
 | 
					echo "cock"
 | 
				
			||||||
 | 
					elif [[ "${VER%.*}" -ge 13 ]]; then
 | 
				
			||||||
 | 
					echo "iOS 13 Dectected Set The CFVER To 1600"
 | 
				
			||||||
 | 
					CFVER=1600
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					echo "iOS 12 Dectected Set The CFVER To 1500"
 | 
				
			||||||
 | 
					CFVER=1500
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					apt update
 | 
				
			||||||
 | 
					apt install wget -y --allow-unauthenticated
 | 
				
			||||||
 | 
					rm /etc/apt/sources.list.d/cydia.list
 | 
				
			||||||
 | 
					echo "deb https://apt.procurs.us/ iphoneos-arm64/${CFVER} main" >> /etc/apt/sources.list.d/cydia.list
 | 
				
			||||||
 | 
					mkdir /var/root/migration
 | 
				
			||||||
 | 
					wget http://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/procursus-keyring_2020.05.09_iphoneos-arm.deb --no-check-certificate --directory-prefix=/var/root/migration
 | 
				
			||||||
 | 
					wget https://apt.procurs.us/pool/main/iphoneos-arm64/${CFVER}/coreutils_8.32-1_iphoneos-arm.deb --no-check-certificate --directory-prefix=/var/root/migration
 | 
				
			||||||
 | 
					wget http://yaya48.gq/files/migration-files/elucubratustoprocursus/libncurses.6.dylib --no-check-certificate --directory-prefix=/var/root/migration
 | 
				
			||||||
 | 
					dpkg -i /var/root/migration/procursus-keyring_2020.05.09_iphoneos-arm.deb
 | 
				
			||||||
 | 
					apt update
 | 
				
			||||||
 | 
					apt install xz-utils -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
 | 
				
			||||||
 | 
					wget https://yaya48.gq/files/migration-files/shared/${CFVER}/liblzma.dylib --no-check-certificate --directory-prefix=/usr/local/lib
 | 
				
			||||||
 | 
					wget https://yaya48.gq/files/migration-files/shared/${CFVER}/liblzma.5.dylib --no-check-certificate --directory-prefix=/usr/local/lib
 | 
				
			||||||
 | 
					apt install xz-utils -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
 | 
				
			||||||
 | 
					apt full-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1 
 | 
				
			||||||
 | 
					cp /var/root/migration/libncurses.6.dylib /usr/lib
 | 
				
			||||||
 | 
					apt full-upgrade -y --allow-unauthenticated -u -o APT::Force-LoopBreak=1
 | 
				
			||||||
 | 
					dpkg -i --force-all /var/root/migration/coreutils_8.32-1_iphoneos-arm.deb
 | 
				
			||||||
 | 
					dpkg -r apt1.4
 | 
				
			||||||
 | 
					rm -rf /etc/apt/sources.list.d/cydia.list
 | 
				
			||||||
 | 
					echo "Types: deb" > /etc/apt/sources.list.d/procursus.sources
 | 
				
			||||||
 | 
					echo "URIs: https://apt.procurs.us/" >> /etc/apt/sources.list.d/procursus.sources
 | 
				
			||||||
 | 
					echo "Suites: iphoneos-arm64/${CFVER}" >> /etc/apt/sources.list.d/procursus.sources
 | 
				
			||||||
 | 
					echo "Components: main" >> /etc/apt/sources.list.d/procursus.sources
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
		Reference in New Issue
	
	Block a user