mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 14:09:16 +01:00
fixxx
This commit is contained in:
parent
7f9989cab6
commit
8bde0ccfb2
@ -776,11 +776,6 @@ if __name__ == "__main__":
|
|||||||
firmware_backup_file = "sc64firmware.bin.bak"
|
firmware_backup_file = "sc64firmware.bin.bak"
|
||||||
|
|
||||||
with SC64ProgressBar(sc64):
|
with SC64ProgressBar(sc64):
|
||||||
if (rtc):
|
|
||||||
now = datetime.now()
|
|
||||||
print(f"Setting RTC to [{now}]")
|
|
||||||
sc64.set_rtc(now)
|
|
||||||
|
|
||||||
if (update_file):
|
if (update_file):
|
||||||
if (is_read):
|
if (is_read):
|
||||||
sc64.backup_firmware(update_file)
|
sc64.backup_firmware(update_file)
|
||||||
@ -793,6 +788,11 @@ if __name__ == "__main__":
|
|||||||
print("SummerCart64 is already updated to latest version")
|
print("SummerCart64 is already updated to latest version")
|
||||||
os.remove(firmware_backup_file)
|
os.remove(firmware_backup_file)
|
||||||
|
|
||||||
|
if (rtc):
|
||||||
|
now = datetime.now()
|
||||||
|
print(f"Setting RTC to [{now}]")
|
||||||
|
sc64.set_rtc(now)
|
||||||
|
|
||||||
if (not is_read):
|
if (not is_read):
|
||||||
if (boot_mode != 2):
|
if (boot_mode != 2):
|
||||||
print(f"Setting boot mode to [{sc64.get_boot_mode_label(boot_mode)}]")
|
print(f"Setting boot mode to [{sc64.get_boot_mode_label(boot_mode)}]")
|
||||||
|
Loading…
Reference in New Issue
Block a user