Style update for After Dark theme

This commit is contained in:
Campbell 2025-05-25 01:12:46 -04:00
parent dee71e03d0
commit 9cb11f2f68
Signed by: NinjaCheetah
GPG Key ID: B547958AF96ED344
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 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.

View 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;