-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
50 lines (42 loc) · 1.53 KB
/
setup
File metadata and controls
50 lines (42 loc) · 1.53 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
#!/data/data/com.termux/files/usr/bin/bash
## Author : Aditya Shakya
## Email : adi1090x@gmail.com
#colors
R='\033[1;31m'
B='\033[1;34m'
C='\033[0;36m'
G='\033[1;32m'
W='\033[1;37m'
Y='\033[1;33m'
DIR="$(pwd)"
echo
echo -e $B" ┌────────────────────────────────────┐"
echo -e $B" │$R╺┳╸┏━╸┏━┓┏┳┓╻ ╻╻ ╻ $G┏━┓╺┳╸╻ ╻╻ ┏━╸$B│"
echo -e $B" │$R ┃ ┣╸ ┣┳┛┃┃┃┃ ┃┏╋┛$Y╺━╸$G┗━┓ ┃ ┗┳┛┃ ┣╸ $B│"
echo -e $B" │$R ╹ ┗━╸╹┗╸╹ ╹┗━┛╹ ╹ $G┗━┛ ╹ ╹ ┗━╸┗━╸$B│"
echo -e $B" └────────────────────────────────────┘"
echo -e $B" [$R*$B] By-$Y Aditya Shakya $R//$Y adi1090x"
echo
echo -e $G" [*] Installing termux-style..."
echo
echo -e $Y" [*] Setting Up The Program..."
echo
if [ ! -d $HOME/.termux ]; then
mkdir $HOME/.termux
fi
mv $DIR/data.tar.gz $PREFIX/share
cd $PREFIX/share
echo -e $Y" [*] Extracting Files..."$C
echo
tar -xhf data.tar.gz
chmod +x termux-style/theme
ln -s $PREFIX/share/termux-style/theme $PREFIX/bin/termux-style
rm $PREFIX/share/data.tar.gz
termux-reload-settings
echo -e $G" [*] Setup Completed."
echo
echo -e $Y" [*] Now You Can Run This Program By Just typing 'termux-style'."
echo -e $Y" [*] Please Support The Developers By Purchasing The App."
echo
echo -e $G" [*] Developed By$R Aditya Shakya."
echo