-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun.sh
64 lines (57 loc) · 1.42 KB
/
run.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
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
clear
echo " ReVanced Builder & Patch "
echo -e
echo " 1. Build Vanced "
echo " 2. Update Vanced "
echo " 3. Reinstall Vanced "
echo " 4. Advanced "
echo " 5. Help "
echo -e
echo " e. Exit "
echo -e
read -p "Choice: " opt
if [ $opt = 1 ] || [ $opt = 1 ]; then
curl -sLo revanced-builder.sh https://raw.githubusercontent.com/reisxd/revanced-builder/main/android-interface.sh
chmod +x revanced-builder.sh
mv revanced-builder.sh .revanced-builder.sh
bash .revanced-builder.sh run
fi
if [ $opt = 2 ] || [ $opt = 2 ]; then
bash .revanced-builder.sh update
bash run.sh
fi
if [ $opt = 3 ] || [ $opt = 3 ]; then
bash .revanced-builder.sh reinstall
fi
if [ $opt = 4 ] || [ $opt = 4 ]; then
clear
echo " ReVanced Builder & Patch "
echo -e
echo " 1. Build Vanced (Delete Cache) "
echo " 2. Reinstall Vanced (Delete Keystore) "
echo -e
echo " e. Back "
echo -e
read -p "Choice: " optm
if [ $optm = 1 ] || [ $optm = 1 ]; then
bash .revanced-builder.sh run --delete-cache
fi
if [ $optm = 2 ] || [ $optm = 2 ]; then
bash .revanced-builder.sh reinstall --delete-keystore
fi
if [ $optm = e ] || [ $optm = e ]; then
bash run.sh
fi
fi
if [ $opt = 5 ] || [ $opt = 5 ]; then
bash .revanced-builder.sh help
bash run.sh
fi
if [ $opt = e ] || [ $opt = E ]; then
echo -e "Exiting..."
sleep 1
reset
clear
exit
fi