Update installuncursus.sh

This commit is contained in:
Yaya4 2020-07-23 22:44:12 +02:00 committed by GitHub
parent 57e68db7f0
commit ddcaae110b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ 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 (Stable) By @Yaya4_4 on Twitter.\e[0m" echo -e "\e[31mWelcome to Uncursus Installation Script V1.3.1 (Stable) By @Yaya4_4 on Twitter.\e[0m"
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..."
@ -19,7 +19,6 @@ rm -rf /User/Documents/uncursus
mkdir /User/Documents/uncursus mkdir /User/Documents/uncursus
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) 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 Installing iOS 12 Procursus Deb" echo "iOS 12 Dectected Installing iOS 12 Procursus Deb"
@ -31,7 +30,6 @@ 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/ 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/ unzip /User/Documents/uncursus/debprocursussystem-1600.zip?raw=true -d /User/Documents/uncursus/
dpkg -i /User/Documents/uncursus/debprocursussystem/*.deb dpkg -i /User/Documents/uncursus/debprocursussystem/*.deb
fi
echo "Done. Creating a custom directory for the required files. Path (/User/Documents/)." 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/ wget https://github.com/Yaya48/Uncursus/blob/new/debpatch.zip?raw=true --directory-prefix=/User/Documents/uncursus/