Add files via upload

This commit is contained in:
Yaya4 2020-07-30 01:52:36 +02:00 committed by GitHub
parent 1489a44f32
commit 2a927a1ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,60 +3,61 @@ if [ "$EUID" -ne 0 ]; then
echo You need to run this script as root. echo You need to run this script as root.
else else
clear clear
echo -e "\e[31mWelcome to Uncursus Installation Script V1.3.2 (Stable) By @Yaya4_4 on Twitter.\e[0m" echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.0 (Beta1) By @Yaya4_4 on Twitter.\e[0m"
echo "Checking If Is A Clean Install Of Unc0ver..."
if [[ -f "/.procursus_strapped" ]]; then
echo "Please do not use this on odyssey or on an already uncursus installation.."
exit 1
fi
if [[ -f "/.bootstrapped" ]]; then
echo "Please do not use this on checkra1n"
exit 1
fi
echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG" echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG"
echo "If you've found any bugs, please create an issue in GitHub." echo "If you've found any bugs, please create an issue in GitHub."
echo "Installing Dependencies..." echo "Installing Dependencies..."
apt update apt update
apt install unzip -y apt install unzip -y
apt install com.bingner.plutil -y apt install com.bingner.plutil -y
apt install zsh -y
apt install curl -y apt install curl -y
echo "Pulling and executing the Procursus deployment script..." echo "Pulling and executing the Procursus Migration Script"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/procursus-deploy-u0.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/beta/procursus-migration.sh)"
echo "Pulling and installing official Procursus debians..." echo "Setuping Uncursus Repo...."
rm -rf /User/Documents/uncursus echo "Types: deb" > /etc/apt/sources.list.d/odyssey.sources
mkdir /User/Documents/uncursus echo "URIs: https://yaya48.github.io/uncursusrepo" >> /etc/apt/sources.list.d/odyssey.sources
echo "Suites: ./" >> /etc/apt/sources.list.d/odyssey.sources
echo "Components: " >> /etc/apt/sources.list.d/odyssey.sources
echo "" >> /etc/apt/sources.list.d/odyssey.sources
mkdir -p /etc/apt/preferenced.d/
echo "Package: *" > /etc/apt/preferenced.d/odyssey
echo "Pin: release n=uncursus-ios" >> /etc/apt/preferenced.d/odyssey
echo "Pin-Priority: 1001" >> /etc/apt/preferenced.d/odyssey
echo "" >> /etc/apt/preferenced.d/odyssey
echo "Done. Installing Sileo"
wget https://github.com/coolstar/Odyssey-bootstrap/raw/master/org.coolstar.sileo_1.8.1_iphoneos-arm.deb /User/Documents/uncursus
dpkg -i User/Documents/uncursus/org.coolstar.sileo_1.8.1_iphoneos-arm.deb
apt update apt update
apt install wget -y --allow-unauthenticated apt install wget -y --allow-unauthenticated
VER=$(/usr/bin/plutil -key ProductVersion /System/Library/CoreServices/SystemVersion.plist) echo "Done. Creating a custom directory for the required files. Path (/User/Documents/uncursus)."
if [[ "${VER%.*}" -ge 12 ]] && [[ "${VER%.*}" -lt 13 ]]; then rm -rf /User/Documents/uncursus
echo "cock" mkdir /User/Documents/uncursus
elif [[ "${VER%.*}" -ge 13 ]]; then
echo "iOS 13 Dectected Installing iOS 13 Procursus Deb"
wget https://github.com/Yaya48/Uncursus/blob/new/debprocursussystem-1600.zip?raw=true --directory-prefix=/User/Documents/uncursus/
unzip /User/Documents/uncursus/debprocursussystem-1600.zip?raw=true -d /User/Documents/uncursus/
dpkg -i /User/Documents/uncursus/debprocursussystem/*.deb
else
echo "iOS 12 Dectected Installing iOS 12 Procursus Deb"
wget https://github.com/Yaya48/Uncursus/blob/new/debprocursussystem-1500.zip?raw=true --directory-prefix=/User/Documents/uncursus/
unzip /User/Documents/uncursus/debprocursussystem-1500.zip?raw=true -d /User/Documents/uncursus/
dpkg -i /User/Documents/uncursus/debprocursussystem1500/*.deb
fi
echo "Done. Creating a custom directory for the required files. Path (/User/Documents/)."
mkdir /User/Documents/uncursus/u0 mkdir /User/Documents/uncursus/u0
wget https://github.com/Yaya48/Uncursus/blob/new/debpatch.zip?raw=true --directory-prefix=/User/Documents/uncursus/ echo "Done. Downloading necessities"
unzip /User/Documents/uncursus/debpatch.zip?raw\=true -d /User/Documents/uncursus/debpatch wget https://yaya48.gq/files/uncursus/debpatch.zip --directory-prefix=/User/Documents/uncursus/
unzip /User/Documents/uncursus/debpatch.zip -d /User/Documents/uncursus/debpatch
rm -rf /usr/bin/cynject rm -rf /usr/bin/cynject
wget https://apt.bingner.com/debs/1443.00/com.ex.substitute_0.1.14_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0 wget https://apt.bingner.com/debs/1443.00/com.ex.substitute_0.1.14_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0
wget https://apt.bingner.com/debs/1443.00/com.saurik.substrate.safemode_0.9.6003_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0 wget https://apt.bingner.com/debs/1443.00/com.saurik.substrate.safemode_0.9.6003_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0
echo "Done. Installing necessities..." echo "Done. Installing necessities..."
dpkg -i --force-all /User/Documents/uncursus/debpatch/us.diatr.sileorespring_1.1_iphoneos-arm.deb dpkg -i --force-all /User/Documents/uncursus/debpatch/*.deb
dpkg -i --force-all /User/Documents/uncursus/debpatch/coreutils-bin.deb
dpkg -i --force-all /User/Documents/uncursus/debpatch/libssl.deb
dpkg -i --force-all /User/Documents/uncursus/debpatch/lzma.deb
dpkg -i --force-all /User/Documents/uncursus/debpatch/ncurses5-libs.deb
dpkg -i --force-all /User/Documents/uncursus/debpatch/xz.deb
dpkg -i --force-all /User/Documents/uncursus/u0/*.deb dpkg -i --force-all /User/Documents/uncursus/u0/*.deb
echo "Done. Running Firmware Configuration (./firmware.sh)" echo "Done. Running Firmware Configuration (./firmware.sh)"
/usr/libexec/firmware /usr/libexec/firmware
echo "Bootstrap installation complete. Cleaning up..." echo "Bootstrap installation complete. Cleaning up..."
rm -rf /User/Documents/uncursus/ rm -rf /User/Documents/uncursus/
echo "Uninstalling Cydia..." echo "Uninstalling Cydia..."
apt update
apt install cydia -y --allow-unauthenticated
apt purge cydia -y apt purge cydia -y
uicache -a uicache -a
echo "All Done." echo "All Done."
killall SpringBoard ldrestart
fi fi