-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupdate.py
More file actions
50 lines (40 loc) · 1.29 KB
/
update.py
File metadata and controls
50 lines (40 loc) · 1.29 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
50
import os
from time import sleep
from sys import exit
import sys
red= '\033[91m'
orange= '\33[38;5;208m'
green= '\033[92m'
cyan= '\033[36m'
bold= '\033[1m'
end= '\033[0m'
os.system('clear')
p1='''{5}
▀▄ ▄▀
▄█▀███▀█▄
█▀███████▀█
█─█▀▀▀▀▀█─█
▀▀─▀▀
***** DrivetoWeb *****
'''.format(orange, green, bold, end, cyan, red)
print(p1)
p2='''{5}
{2}Follow me :{3}
{1}•{3} GitHub : {4}https://github.com/rahilkaxi{3}
{1}•{3} YouTube: {4}soon{3}
{1}•{3} Website: {4}soon{3}
'''.format(orange, green, bold, end, cyan, red)
print(p2)
hello = input("[?] Do you want to update? (y/n): ")
print("================================")
if hello == "y":
print("========================================================")
print("[+] Please wait...")
print("========================================================")
os.system("pkg install git")
os.system("cd /data/data/com.termux/files/home && rm -rf DrivetoWeb")
os.system("cd /data/data/com.termux/files/home && git clone https://github.com/Rahilkaxi/DrivetoWeb.git")
os.system("clear")
# os.system()
# os.system()
# os.system()