commit
814e767d90
@ -7,18 +7,18 @@ echo -e "\e[31mUncursus 2.0 Migration Part By Yaya4_4 1.0 (Sbtale)\e[0m"
|
|||||||
echo "Checking iOS Version"
|
echo "Checking iOS Version"
|
||||||
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
|
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist)
|
||||||
if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then
|
if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then
|
||||||
echo "iOS 12 Dectected Set The CFVER To 1500"
|
echo "iOS 12 detected, setting the CFVER to 1500"
|
||||||
CFVER=1500
|
CFVER=1500
|
||||||
elif [[ "${VER%.*}" -ge 13 ]]; then
|
elif [[ "${VER%.*}" -ge 13 ]]; then
|
||||||
echo "iOS 13 Dectected Set The CFVER To 1600"
|
echo "iOS 13 detected, setting the CFVER to 1600"
|
||||||
CFVER=1600
|
CFVER=1600
|
||||||
else
|
else
|
||||||
if [[ "${VER%.*.*}" -ge 13 ]]; then
|
if [[ "${VER%.*.*}" -ge 13 ]]; then
|
||||||
echo "iOS 13 Dectected Set The CFVER To 1600"
|
echo "iOS 13 detected, setting the CFVER to 1600"
|
||||||
CFVER=1600
|
CFVER=1600
|
||||||
else
|
else
|
||||||
if [[ "${VER%.*.*}" -ge 12 ]]; then
|
if [[ "${VER%.*.*}" -ge 12 ]]; then
|
||||||
echo "iOS 12 Dectected Set The CFVER To 1500"
|
echo "iOS 12 detected, setting the CFVER to 1500"
|
||||||
CFVER=1500
|
CFVER=1500
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -51,5 +51,5 @@ echo "URIs: https://apt.procurs.us/" >> /etc/apt/sources.list.d/procursus.source
|
|||||||
echo "Suites: iphoneos-arm64/${CFVER}" >> /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
|
echo "Components: main" >> /etc/apt/sources.list.d/procursus.sources
|
||||||
echo -e "\e[32mMigration Finished!\e[0m"
|
echo -e "\e[32mMigration Finished!\e[0m"
|
||||||
echo -e "\e[32mBack To Uncursus Script...\e[0m"
|
echo -e "\e[32mBack to Uncursus Script...\e[0m"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user