diff --git a/Overclock.py b/Overclock.py index 70aa670..a3dd5d6 100644 --- a/Overclock.py +++ b/Overclock.py @@ -50,7 +50,7 @@ def editor(): RyzenADJI = input("Ryzen ADJI preset (if you have one, if not leave blank): ") USBdevices = int(input("Amount of static USB devices: " )) TotalUSBpower = USBdevices * 4.5 - TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.32) + TotalPower = (TotalUSBpower + GPUpowerLimit + CPUPowerLimit * 1.352) data = { "PCname": my_system.node, "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(" Total USB power: " + str(data["TotalUSBPower"]) + "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") input(" Press enter to continue") Menu() @@ -126,15 +127,23 @@ def existstage1(): existstage1() def exitstage2(): - t = 5 + t = 10 while t > 0: - os.system('cls') - print(graphics.Bye) - print(graphics.Rever, ", By Marcus Allison" ) - print("\n Closing program in", t) - time.sleep(1) - t = t - 1 - if t == 1: + if t >= 5: + os.system('cls') + print(graphics.Overclock) + print(graphics.Rever, ", By Marcus Allison" ) + print("\n Closing program in", t) + time.sleep(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') print(graphics.Bye) print(graphics.Rever, ", By Marcus Allison" ) diff --git a/__pycache__/configuationtable.cpython-310.pyc b/__pycache__/configuationtable.cpython-310.pyc deleted file mode 100644 index 42e3ec0..0000000 Binary files a/__pycache__/configuationtable.cpython-310.pyc and /dev/null differ diff --git a/__pycache__/graphics.cpython-310.pyc b/__pycache__/graphics.cpython-310.pyc deleted file mode 100644 index 50d6bd4..0000000 Binary files a/__pycache__/graphics.cpython-310.pyc and /dev/null differ diff --git a/config_data.txt b/config_data.txt index 2e86f58..369ec2a 100644 --- a/config_data.txt +++ b/config_data.txt @@ -17,3 +17,5 @@ Static USB devices: 4 Total USB power: 18.0W Total Power: 134.0W + + Overclock Manager, Version: 2.0.1 \ No newline at end of file