-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhsvn.py
129 lines (110 loc) · 2.57 KB
/
hsvn.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
from app.system.systemcheck import cleansc
import webbrowser
import app.efi.dowloadefi as dowloadefi
from app.system.systemcheck import *
from app.environment.env import *
from link.tools import *
# import OS
from link.MacOS.monterey import monterey
from link.MacOS.bigsur import bigsur
from link.MacOS.catalina import catalina
from link.MacOS.mojave import mojave
from link.MacOS.hs import hs
from link.MacOS.ventura import ventura
def openLink():
webbrowser.open("https://www.facebook.com/groups/hackintoshsvn")
def inputNumber():
cleansc()
print("Tools Dowload FirmwareMacOS")
print("Create by HSVN - Hackintosh Vietnam")
print("1. MacOS 12 Monterey")
print("2. MacOS 11 Bigsur")
print("3. MacOS 10 Catalina")
print("4. MacOS 10 Mojave")
print("5. MacOS 10 High Sierra")
print("6. MacOS 13 Ventura")
print("7. Tools")
print("8. Efi Newest")
print("9. Tham gia HSVN - Hackintosh Vietnam")
print("0. Exit")
textInput = int(input('Please enter a number: '))
if (textInput == 1):
cleansc()
monterey()
elif (textInput == 2):
cleansc()
bigsur()
elif (textInput == 3):
cleansc()
catalina()
elif (textInput == 4):
cleansc()
mojave()
elif (textInput == 5):
cleansc()
hs()
elif (textInput == 6):
cleansc()
ventura()
elif (textInput == 7):
cleansc()
tools()
elif (textInput == 8):
print("[1] OpenCore")
print("[2] Clover")
print("[3] Back")
textInput = int(input('Please enter a number: '))
if (textInput == 1):
dowloadefi.efiopencore()
elif (textInput == 2):
dowloadefi.eficlover()
elif (textInput == 3):
inputNumber()
else:
print("Can't find the character you entered, do you want to do it again?")
print("[1] Yes")
print("[2] No")
textInput = int(input('Please enter a number: '))
if (textInput == 1):
inputNumber()
elif (textInput == 2):
exit()
else:
inputNumber()
elif (textInput == 9):
openLink()
inputNumber()
elif (textInput == 0):
exit()
else:
print("Can't find the character you entered, do you want to do it again?")
print("[1] Yes")
print("[2] No")
textInput = int(input('Please enter a number: '))
if (textInput == 1):
inputNumber()
elif (textInput == 2):
exit()
else:
inputNumber()
def wantopenfile():
cleansc()
print("Do you want to open the folder?")
print("[1] Yes")
print("[2] No")
textInput = int(input('Please enter a number: '))
if (textInput == 1):
openfolder()
inputNumber()
else:
inputNumber()
def main():
checkwget()
cleansc()
inputNumber()
wantopenfile()
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
pass