mirror of
https://github.com/NinjaCheetah/NUSGet.git
synced 2026-02-28 07:35:30 -05:00
Style update for After Dark theme
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user