Fixed and updated.

This commit is contained in:
Yaya4 2021-03-01 22:55:34 +01:00 committed by GitHub
parent d8edc66bbf
commit 59ae9fbc65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ else
command -v wget >/dev/null 2>&1 || need+="wget "
clear
echo "Copyright (c) 2020, Yaya4 All rights reserved."
echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.9 (Stable) By @Yaya4_4 on Twitter.\e[0m"
echo -e "\e[31mWelcome to Uncursus Installation Script V2.0.9.\e[0m"
echo "Checking if this script is running on ARM Darwin"
if [ $(uname) = "Linux" ]; then
if [ $(uname -p) = "x86_64" ]; then
@ -32,7 +32,7 @@ else
else
echo "unc0ver detected"
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 DM Me"
echo "Checking Dependencies..."
if [[ $need != "" ]]; then
echo "Installing Dependencies..."
@ -40,15 +40,15 @@ else
apt install $need -y
fi
echo "Pulling and executing the Procursus Migration Script..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Yaya48/Uncursus/new/procursus-migration.sh)"
/bin/bash /usr/bin/procursus-migration
echo "Creating a custom directory for the required files. Path (/tmp/uncursus)."
rm -rf /tmp/uncursus
mkdir /tmp/uncursus
mkdir /tmp/uncursus/u0
echo "Done. Setuping Uncursus Repo...."
echo "Types: deb" > /etc/apt/sources.list.d/uncursus.sources
echo "URIs: https://uncursus.yaya48.gq" >> /etc/apt/sources.list.d/uncursus.sources
echo "Suites: iphoneos-arm64/uncursus" >> /etc/apt/sources.list.d/uncursus.sources
echo "URIs: https://repo.yaya48.gq/uncursusrepo/" >> /etc/apt/sources.list.d/uncursus.sources
echo "Suites: iphoneos-arm64/all" >> /etc/apt/sources.list.d/uncursus.sources
echo "Components: main" >> /etc/apt/sources.list.d/uncursus.sources
echo "" >> /etc/apt/sources.list.d/uncursus.sources
mkdir -p /etc/apt/preferences.d/
@ -56,8 +56,8 @@ else
echo "Pin: release l=Uncursus" >> /etc/apt/preferences.d/uncursus
echo "Pin-Priority: 1001" >> /etc/apt/preferences.d/uncursus
echo "" >> /etc/apt/preferences.d/uncursus
wget -q https://github.com/Yaya48/uncursusrepov2/raw/master/pool/main/iphoneos-arm64/Yaya4Keyring.deb --directory-prefix=/tmp/uncursus/
dpkg -i /tmp/uncursus/Yaya4Keyring.deb
wget -q https://repo.yaya48.gq/uncursusrepo/pool/main/iphoneos-arm64/com.yaya4.repokeyring.deb --directory-prefix=/tmp/uncursus/
dpkg -i /tmp/uncursus/com.yaya4.repokeyring.deb
apt update
echo "Done. Installing Procursus Cydia..."
apt purge cydia -y --allow-remove-essential
@ -71,7 +71,6 @@ else
rm -rf /tmp/uncursus/
rm -rf /tmp/procursus-migration/
echo "All Done."
touch /.installed_odyssey
touch /.procursus_strapped
uicache -p /Applications/Cydia.app
sbreload