-
Notifications
You must be signed in to change notification settings - Fork 5
/
Tool-Avenge.sh
53 lines (52 loc) · 1.03 KB
/
Tool-Avenge.sh
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
53
#!/bin/bash
clear
echo "Press Enter To Continue"
read a1
while :
do
rm *.xxx >/dev/null 2>&1
clear
echo -e "\e[35;1m"
toilet Tool-Avenge
echo ""
echo ""
echo -e "\e[35;1m ➡ [1️⃣] Tools \e[0m"
echo -e "\e[35;1m ➡️ [2️⃣] Update \e[0m"
echo -e "\e[35;1m ➡ [3️⃣] Exit \e[0m"
read ch
if [ $ch -eq 1 ];then
clear
echo -e "\e[1;32m"
rm *.xxx >/dev/null 2>&1
chmod +X Tools.sh
bash Tools.sh
rm *.xxx >/dev/null 2>&1
exit 0
elif [ $ch -eq 2 ];then
clear
cd $HOME/Tool-Avenge/core/update
bash updates.sh
rm *.xxx >/dev/null 2>&1
exit 0
elif [ $ch -eq 3 ];then
clear
cd $HOME
rm *.xxx >/dev/null 2>&1
exit 0
echo -e "\e[1;32m Tool-Avenge Will Restart Now..."
echo -e "\e[1;32m All The Required Packages Will Be Installed..."
echo -e "\e[1;34m Press Enter To Proceed To Restart..."
read a6
./Tool-Avenge.sh
exit
echo -e "\e[35;1m"
toilet Tool-Avenge
echo " "
exit 0
else
echo -e "\e[4;32m Invalid Input !!! \e[0m"
echo "Press Enter To Go Home"
read a3
clear
fi
done