-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkrdori.sh
More file actions
24 lines (23 loc) · 734 Bytes
/
Copy pathkrdori.sh
File metadata and controls
24 lines (23 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/data/data/com.termux/files/usr/bin/bash
if [ -d ./krdori-local ]; then
cd krdori-local
git pull https://github.com/RainbowUnicorn7297/krdori-local.git
source env/bin/activate
elif [ -d ../krdori-local ]; then
git pull https://github.com/RainbowUnicorn7297/krdori-local.git
source env/bin/activate
else
yes | pkg upg
yes | pkg ins git
yes | pkg ins python
git clone https://github.com/RainbowUnicorn7297/krdori-local.git
cd krdori-local
python -m venv env
source env/bin/activate
python -m pip install --upgrade pip
python -m pip install websockets
python -m pip install protobuf
python -m pip install pycryptodome
python -m pip install flask
fi
python main.py &