forked from NinjaCheetah/NUSGet
Style update for After Dark theme
This commit is contained in:
parent
dee71e03d0
commit
9cb11f2f68
@ -92,7 +92,7 @@ def run_nus_download_wii(out_folder: pathlib.Path, tid: str, version: str, pack_
|
|||||||
title.content.content_list = content_list
|
title.content.content_list = content_list
|
||||||
# Try to forge a Ticket, if a common one wasn't available.
|
# Try to forge a Ticket, if a common one wasn't available.
|
||||||
if forge_ticket is True:
|
if forge_ticket is True:
|
||||||
progress_callback.emit(" - Attempting to forge Ticket...")
|
progress_callback.emit(0, 0, " - Attempting to forge Ticket...")
|
||||||
try:
|
try:
|
||||||
title_key = find_tkey(tid, title.content.content_list[0], title.tmd.content_records[0])
|
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)
|
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()
|
ticket.fakesign()
|
||||||
title.ticket = ticket
|
title.ticket = ticket
|
||||||
version_dir.joinpath("tik").write_bytes(title.ticket.dump())
|
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:
|
except Exception:
|
||||||
progress_callback.emit(" - Ticket could not be forged!")
|
progress_callback.emit(-1, -1, " - Ticket could not be forged!")
|
||||||
pack_wad_enabled = False
|
pack_wad_enabled = False
|
||||||
decrypt_contents_enabled = False
|
decrypt_contents_enabled = False
|
||||||
# If decrypt local contents is still true, decrypt each content and write out the decrypted file.
|
# If decrypt local contents is still true, decrypt each content and write out the decrypted file.
|
||||||
|
@ -381,7 +381,7 @@ QProgressBar {
|
|||||||
QProgressBar::chunk {
|
QProgressBar::chunk {
|
||||||
background-color: qlineargradient(
|
background-color: qlineargradient(
|
||||||
x1: 0, y1: 0, x2: 1, y2: 0,
|
x1: 0, y1: 0, x2: 1, y2: 0,
|
||||||
stop: 0 #1a73e8, stop: 1 #5596f4
|
stop: 0 #6c1ae8, stop: 1 #8941ec
|
||||||
);
|
);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin: 0.5px;
|
margin: 0.5px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user