This repository has been archived on 2023-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Uncursus/installuncursus.sh

49 lines
2.5 KiB
Bash

#!/bin/bash
if [ "$EUID" -ne 0 ]; then
echo You need to run this script as root.
else
clear
echo -e "\e[31mWelcome to Uncursus Installation Script V1.1 (Stable) By @Yaya4_4 on Twitter.\e[0m"
echo "WARNING: I'M NOT RESPONSIBLE IF ANYTHING GOES WRONG"
echo "If you've found any bugs, please create an issue in GitHub."
echo "Installing Dependencies..."
apt update
apt install unzip -y
apt install com.bingner.plutil -y
apt install zsh -y
apt install curl -y
echo "Pulling and executing the Procursus deployment script..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/procursus-deploy-u0.sh)"
echo "Pulling and installing official Procursus debians..."
rm -rf /User/Documents/uncursus
mkdir /User/Documents/uncursus
apt update
apt install wget -y --allow-unauthenticated
wget https://github.com/Yaya48/Uncursus/blob/new/debprocursussystem.zip?raw=true --directory-prefix=/User/Documents/uncursus/
unzip /User/Documents/uncursus/debprocursussystem.zip?raw=true -d /User/Documents/uncursus/
dpkg -i /User/Documents/uncursus/debprocursussystem/*.deb
echo "Done. Creating a custom directory for the required files. Path (/User/Documents/)."
mkdir /User/Documents/uncursus/u0
wget https://github.com/Yaya48/Uncursus/blob/new/debpatch.zip?raw=true --directory-prefix=/User/Documents/uncursus/
unzip /User/Documents/uncursus/debpatch.zip?raw\=true -d /User/Documents/uncursus/debpatch
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.saurik.substrate.safemode_0.9.6003_iphoneos-arm.deb --directory-prefix=/User/Documents/uncursus/u0
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/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
echo "Done. Running Firmware Configuration (./firmware.sh)"
/usr/libexec/firmware
echo "Bootstrap installation complete. Cleaning up..."
rm -rf /User/Documents/uncursus/
rm /etc/apt/sources.list.d/odyssey.sources
echo "All Done."
rm -rf /Aplications/Cydia.app
killall SpringBoard
fi