This repository has been archived by the owner on Dec 15, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathtermux-setup.sh
58 lines (54 loc) · 2.44 KB
/
termux-setup.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
RESTORE='\033[0m'
RED='\033[00;31m'
GREEN='\033[00;32m'
YELLOW='\033[00;33m'
BLUE='\033[00;34m'
PURPLE='\033[00;35m'
CYAN='\033[00;36m'
LIGHTGRAY='\033[00;37m'
LRED='\033[01;31m'
LGREEN='\033[01;32m'
LYELLOW='\033[01;33m'
LBLUE='\033[01;34m'
LPURPLE='\033[01;35m'
LCYAN='\033[01;36m'
WHITE='\033[01;37m'
clear
echo "${BLUE}░█████╗░░██╗░░░░░░░██╗░█████╗░"
echo "██╔══██╗░██║░░██╗░░██║██╔══██╗"
echo "██║░░██║░╚██╗████╗██╔╝██║░░██║"
echo "██║░░██║░░████╔═████║░██║░░██║"
echo "╚█████╔╝░░╚██╔╝░╚██╔╝░╚█████╔╝"
echo "░╚════╝░░░░╚═╝░░░╚═╝░░░╚════╝░"
sleep 1
echo "░█▀▀▀ ─█▀▀█ ░█▀▀█ ░█▀▄▀█ ░█▀▀█ ░█▀▀▀█ ▀▀█▀▀"
echo "░█▀▀▀ ░█▄▄█ ░█▄▄▀ ░█░█░█ ░█▀▀▄ ░█──░█ ─░█──"
echo "░█─── ░█─░█ ░█─░█ ░█──░█ ░█▄▄█ ░█▄▄▄█ ─░█── ${RESTORE}"
echo "${GREEN} [=] ${BLUE} Please Allow termux to access files in the dialuge shown ${RESTORE}"
sleep 1
echo "${YELLOW} [!] ${PURPLE} Please Wait... ${RESTORE}"
termux-setup-storage
sleep 6
echo "${GREEN} [+] ${BLUE} Updating termux.... ${RESTORE}"
sleep 2
echo "Kindly Press ENTER on any dialouge shown until Termux is updated"
apt update -y && apt upgrade -y
echo "${GREEN} [+] ${BLUE} Successfully updated termux ${RESTORE}"
echo "${GREEN} [+] ${BLUE} Installing necessary packages ${RESTORE}"
sleep 3
pkg install git nodejs
sleep 1
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
# sleep 1
# export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# sleep 2
# nvm install v21.7.3
# sleep 1
# unset PREFIX && nvm use node
echo "${GREEN} [+] ${BLUE} Installed Packages ${RESTORE}"
echo "${GREEN} [+] ${BLUE} Installing OwO Farm Bot ${RESTORE}"
git clone https://github.com/Mid0aria/owofarmbot/
cd owofarmbot
echo "${GREEN} [+] ${BLUE} Installing nodejs packages${RESTORE}"
npm i --no-bin-links #using --no-bin-links to not get any errors regarding symbolic links
echo "${GREEN} [=] Installed Successfully , Please edit config.json"