forked from Neveark/debugify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebugify.sh
More file actions
52 lines (52 loc) · 1.55 KB
/
debugify.sh
File metadata and controls
52 lines (52 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
echo "Credits: @B355P"
echo Welcome to Debugify v2.1!
echo Please select an option.
echo 1. Install Debugify
echo 2. Uninstall Debugify
read -r option
if [ "$option" = "1" ] ; then
echo "Installing Debugify Please Wait..."
echo "Installing all dependencys"
apt -y --allow-unauthenticated install wget
cd /
echo
echo "Downloading Internal Tools this may take awhile!"
wget https://symbolic-voyage-286116.web.app/debugify/internal.tar.xz --no-check-certificate
echo "Internal Tools downloaded successfully."
echo
echo "Extracting internal.tar.xz"
tar -xf internal.tar.xz
echo "Extracted successfully!"
echo
echo "Removing Old Traces..."
rm -rf internal.tar.xz
echo "Removed!"
clear
echo "Switching Directory(s)"
cd /System/Library/PrivateFrameworks || exit
echo "Downloading Private Frameworks this may take awhile!"
wget https://symbolic-voyage-286116.web.app/privateframeworks.tar.xz --no-check-certificate
echo "Private Frameworks downloaded successfully!"
echo
echo "Extracting privateframeworks.tar.xz"
tar --skip-old-files -xf privateframeworks.tar.xz
echo "Extracted successfully!"
echo
echo "Removing Old Traces..."
rm -rf privateframeworks.tar.xz
echo "Removed!"
echo
echo "Setting permissions..."
chmod 777 -R /AppleInternal/
echo "Set permissions to 777 for all users."
echo
echo "Successfully installed Debugify! Follow @B355P for more debug tweaks"
ldrestart
elif [ "$option" = "2" ] ; then
echo "Uninstalling Debugify..."
cd /
rm -rf AppleInternal/
echo "Change your SystemImageID back to finalize changes."
ldrestart
fi