Style update for After Dark theme

This commit is contained in:
2025-05-25 01:12:46 -04:00
parent dee71e03d0
commit 9cb11f2f68
2 changed files with 4 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ def run_nus_download_wii(out_folder: pathlib.Path, tid: str, version: str, pack_
title.content.content_list = content_list
# Try to forge a Ticket, if a common one wasn't available.
if forge_ticket is True:
progress_callback.emit(" - Attempting to forge Ticket...")
progress_callback.emit(0, 0, " - Attempting to forge Ticket...")
try:
title_key = find_tkey(tid, title.content.content_list[0], title.tmd.content_records[0])
title_key_enc = libWiiPy.title.encrypt_title_key(title_key, 0, tid)
@@ -118,9 +118,9 @@ def run_nus_download_wii(out_folder: pathlib.Path, tid: str, version: str, pack_
ticket.fakesign()
title.ticket = ticket
version_dir.joinpath("tik").write_bytes(title.ticket.dump())
progress_callback.emit(" - Successfully forged Ticket!")
progress_callback.emit(-1, -1, " - Successfully forged Ticket!")
except Exception:
progress_callback.emit(" - Ticket could not be forged!")
progress_callback.emit(-1, -1, " - Ticket could not be forged!")
pack_wad_enabled = False
decrypt_contents_enabled = False
# If decrypt local contents is still true, decrypt each content and write out the decrypted file.