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