Clean up
This commit is contained in:
+18
-9
@@ -50,7 +50,7 @@ def editor():
|
|||||||
RyzenADJI = input("Ryzen ADJI preset (if you have one, if not leave blank): ")
|
RyzenADJI = input("Ryzen ADJI preset (if you have one, if not leave blank): ")
|
||||||
USBdevices = int(input("Amount of static USB devices: " ))
|
USBdevices = int(input("Amount of static USB devices: " ))
|
||||||
TotalUSBpower = USBdevices * 4.5
|
TotalUSBpower = USBdevices * 4.5
|
||||||
TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.32)
|
TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.352)
|
||||||
data = {
|
data = {
|
||||||
"PCname": my_system.node,
|
"PCname": my_system.node,
|
||||||
"System": f"{my_system.system} {my_system.version}",
|
"System": f"{my_system.system} {my_system.version}",
|
||||||
@@ -109,6 +109,7 @@ def export():
|
|||||||
file.write("\n Static USB devices: " + str(data["USBdevices"]) + "\n")
|
file.write("\n Static USB devices: " + str(data["USBdevices"]) + "\n")
|
||||||
file.write(" Total USB power: " + str(data["TotalUSBPower"]) + "W" + "\n")
|
file.write(" Total USB power: " + str(data["TotalUSBPower"]) + "W" + "\n")
|
||||||
file.write(" Total Power: " + str(data["TotalPower"]) + "W" + "\n")
|
file.write(" Total Power: " + str(data["TotalPower"]) + "W" + "\n")
|
||||||
|
file.write(" \n Overclock Manager, Version: 2.0.1")
|
||||||
print(" Data exported to config")
|
print(" Data exported to config")
|
||||||
input(" Press enter to continue")
|
input(" Press enter to continue")
|
||||||
Menu()
|
Menu()
|
||||||
@@ -126,15 +127,23 @@ def existstage1():
|
|||||||
existstage1()
|
existstage1()
|
||||||
|
|
||||||
def exitstage2():
|
def exitstage2():
|
||||||
t = 5
|
t = 10
|
||||||
while t > 0:
|
while t > 0:
|
||||||
os.system('cls')
|
if t >= 5:
|
||||||
print(graphics.Bye)
|
os.system('cls')
|
||||||
print(graphics.Rever, ", By Marcus Allison" )
|
print(graphics.Overclock)
|
||||||
print("\n Closing program in", t)
|
print(graphics.Rever, ", By Marcus Allison" )
|
||||||
time.sleep(1)
|
print("\n Closing program in", t)
|
||||||
t = t - 1
|
time.sleep(1)
|
||||||
if t == 1:
|
t = t - 1
|
||||||
|
elif t <= 5:
|
||||||
|
os.system('cls')
|
||||||
|
print(graphics.Bye)
|
||||||
|
print(graphics.Rever, ", By Marcus Allison" )
|
||||||
|
print("\n Closing program in", t)
|
||||||
|
time.sleep(1)
|
||||||
|
t = t - 1
|
||||||
|
elif t == 1:
|
||||||
os.system('cls')
|
os.system('cls')
|
||||||
print(graphics.Bye)
|
print(graphics.Bye)
|
||||||
print(graphics.Rever, ", By Marcus Allison" )
|
print(graphics.Rever, ", By Marcus Allison" )
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -17,3 +17,5 @@
|
|||||||
Static USB devices: 4
|
Static USB devices: 4
|
||||||
Total USB power: 18.0W
|
Total USB power: 18.0W
|
||||||
Total Power: 134.0W
|
Total Power: 134.0W
|
||||||
|
|
||||||
|
Overclock Manager, Version: 2.0.1
|
||||||
Reference in New Issue
Block a user