-
Notifications
You must be signed in to change notification settings - Fork 3
/
install.sh
60 lines (46 loc) · 1.05 KB
/
install.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
#! /usr/bin/bash
null="> /dev/null 2>&1"
g="\033[1;32m"
r="\033[1;31m"
b="\033[1;34m"
w="\033[0m"
mkdir -p $HOME/.config/clash
echo ""
echo -e $b"➤ "$w"Clash For Termux Non Root"
echo ""
echo -e $b"➤ "$w" prepare for installing dependencies ..."
echo ""
echo -e $b"➤ "$w" installing pacakge: "$g"clash"$w
pkg install clash
echo ""
echo -e $b"➤ "$w" installing pacakge: "$g"unzip"$w
pkg install unzip
echo ""
echo -e $b"➤ "$w" installing pacakge: "$g"micro"$w
pkg install micro
echo ""
cd $HOME/ClashForTermux
sleep 2
echo -e $b"➤ "$w" coppying yacd-dashbord: "$g"yacd"$w
cp -r -f yacd-gh-pages.zip $HOME/.config/clash
echo ""
sleep 2
echo -e $b"➤ "$w" coppying vpn.yaml: "$g"vpn"$w
cp -r -f vpn.yaml $HOME/.config/clash
echo ""
sleep 2
echo -e $b"➤ "$w" coppying config.yaml: "$g"config"$w
cp -r -f config.yaml $HOME/.config/clash
echo ""
sleep 2
cd $HOME/.config/clash
echo -e $b"➤ "$w" extracting yacd-dashbord: "$g"yacd"$w
unzip yacd-gh-pages.zip
echo ""
sleep 2
rm -r -f yacd-gh-pages.zip
sleep 2
cd
rm -r -f ClashForTermux
clash
clear