-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-termux.sh
69 lines (64 loc) · 1.95 KB
/
setup-termux.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
65
66
67
68
69
#!/bin/bash
echo "------------------------------"
echo "Starting Script"
echo "------------------------------"
echo "------------------------------"
echo "Installing Python & Pip"
echo "------------------------------"
# Install Python--------------------
pkg install python
# Upgrade pip
pip install --upgrade pip
#-----------------------------------
echo "------------------------------"
echo "Done"
echo "------------------------------"
echo "------------------------------"
echo "Installing yt-dlp & gallery-dl"
echo "------------------------------"
# Install yt-dlp
python3 -m pip install -U yt-dlp
# Install gallery-dl
python3 -m pip install -U gallery-dl
echo "------------------------------"
echo "Done"
echo "------------------------------"
echo "------------------------------"
echo "Installing aria2 & ffmpeg"
echo "------------------------------"
# Installing aria2 & ffmpeg
pkg install aria2 ffmpeg
echo "------------------------------"
echo "Done"
echo "------------------------------"
echo "------------------------------"
echo "Setting up Aliases"
echo "------------------------------"
# Setting up bashrc-profile
mv Configs/.bash_profile ~
echo "------------------------------"
echo "Done"
echo "------------------------------"
echo "------------------------------"
echo "Setting up storage"
echo "------------------------------"
# Storage Permission----------------
termux-setup-storage
# Wait for permission
sleep 5s # Waits 5 seconds.
# Ls into storage
ls ~/storage/shared
#-----------------------------------
echo "------------------------------"
echo "Placing Configs into position"
echo "------------------------------"
# Setting up configs ---------------
mv Configs ~/storage/shared/
#-----------------------------------
echo "------------------------------"
echo "Completed. Hurray !"
echo "------------------------------"
echo "------------------------------"
echo "Exit Once to apply settings"
echo "type 'exit' than press Enter"
echo "------------------------------"