-
Notifications
You must be signed in to change notification settings - Fork 16
/
run.py
30 lines (25 loc) · 803 Bytes
/
run.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
import platform
import os
import socket
import subprocess
arc = None
print(f' •\x1b[38;5;196m ->\x1b[37m CHECKING FOR UPDATES ')
os.system('git pull --quiet')
def main():
global arc
architecture = platform.architecture()
if architecture[0] == '32bit':
arc = "32BIT"
print(f' •\x1b[38;5;196m ->\x1b[37m 32BIT DETECTED')
print(f' •\x1b[38;5;196m ->\x1b[37m STARTING HARRYv6 ')
import data.HARRY32
elif architecture[0] == '64bit':
arc = "64BIT"
print(f' •\x1b[38;5;196m ->\x1b[37m 64BIT DETECTED')
print(f' •\x1b[38;5;196m ->\x1b[37m STARTING HARRYv6 ')
import data.HARRY64
else:
arc = "INVALID"
exit("•\x1b[38;5;196m ->\x1b[37m UNKNOWN DEVICE TYPE")
if __name__ == "__main__":
main()