-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathinstall.py
45 lines (41 loc) · 2.03 KB
/
install.py
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
import sys, time, os
def m(s):
for c in s + '\n':
sys.stdout.write(c)
sys.stdout.flush()
time.sleep(0.1)
os.system("clear")
print("""
██████╗░░█████╗░██████╗░██╗░░██╗
██╔══██╗██╔══██╗██╔══██╗██║░██╔╝
██║░░██║███████║██████╔╝█████═╝░
██║░░██║██╔══██║██╔══██╗██╔═██╗░
██████╔╝██║░░██║██║░░██║██║░╚██╗
╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝
██████╗░░█████╗░████████╗
██╔══██╗██╔══██╗╚══██╔══╝
██████╦╝██║░░██║░░░██║░░░
██╔══██╗██║░░██║░░░██║░░░
██████╦╝╚█████╔╝░░░██║░░░
╚═════╝░░╚════╝░░░░╚═╝░░░
░ ░\x1b[00m\033[041m TERMUX TELEGRAM BOT MrDevils \033[00m\x1b[1;00m░░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░\x1b[00m
""")
m('\x1b[00m\033[041m Install bahan automatis \033[00m')
m('\x1b[00m\033[041m Jangan Keluar Dari Termux Sebelum Selesai Menginstall!! \033[00m')
os.system("pkg update -y")
os.system("pkg upgrade -y")
os.system("pkg install nano")
os.system("pkg install python -y")
os.system("pkg install python2 -y")
os.system("pkg install nodejs -y")
os.system("pkg install libwebp -y")
os.system("pkg install ffmpeg -y")
os.system("npm install")
os.system("npm audit fix")
os.system("npm install axios")
os.system("npm install telegraf")
m('\x1b[00m\033[041m Memulai Telegram Bot... \033[00m')
os.system("clear")
os.system("python start.py")
m("DONE")