mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-08 21:54:58 +00:00
ci-gui: show error reason for cdn titles
This commit is contained in:
@@ -339,7 +339,9 @@ class CustomInstallGUI(ttk.Frame):
|
|||||||
initialdir=file_parent)
|
initialdir=file_parent)
|
||||||
if d:
|
if d:
|
||||||
if isfile(join(d, 'tmd')):
|
if isfile(join(d, 'tmd')):
|
||||||
self.add_cia(d)
|
success, reason = self.add_cia(d)
|
||||||
|
if not success:
|
||||||
|
self.show_error(f"Couldn't add {basename(d)}: {reason}")
|
||||||
else:
|
else:
|
||||||
self.show_error('tmd file not found in the CDN directory:\n' + d)
|
self.show_error('tmd file not found in the CDN directory:\n' + d)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user