From 779569abf4afe54950c80f24f446ac58e48d0318 Mon Sep 17 00:00:00 2001 From: Yaya4 <34249303+Yaya48@users.noreply.github.com> Date: Thu, 30 Jul 2020 19:31:05 +0200 Subject: [PATCH] Update procursus-migration.sh --- procursus-migration.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/procursus-migration.sh b/procursus-migration.sh index 2e32be0..fe1deba 100644 --- a/procursus-migration.sh +++ b/procursus-migration.sh @@ -7,14 +7,22 @@ echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.0(Beta5)\e[0m" 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" +echo "iOS 12 Dectected Set The CFVER To 1500" +CFVER=1500 elif [[ "${VER%.*}" -ge 13 ]]; then echo "iOS 13 Dectected Set The CFVER To 1600" CFVER=1600 else +if [[ "${VER%.*.*}" -ge 13 ]]; then +echo "iOS 13 Dectected Set The CFVER To 1600" +CFVER=1600 +else +if [[ "${VER%.*.*}" -ge 12 ]]; then echo "iOS 12 Dectected Set The CFVER To 1500" CFVER=1500 fi +fi +fi echo -e "\e[32mStarting Migration....\e[0m" apt update apt install wget -y --allow-unauthenticated