mirror of
https://github.com/ihaveamac/custom-install.git
synced 2025-12-06 06:41:45 +00:00
ci-gui: prioritize failed message over installed
This commit is contained in:
@@ -419,8 +419,13 @@ class CustomInstallGUI(ttk.Frame):
|
||||
def install():
|
||||
try:
|
||||
result, copied_3dsx = installer.start()
|
||||
print(result)
|
||||
if result:
|
||||
self.log('Done!')
|
||||
if result['failed']:
|
||||
message = ('Some titles failed to install. Others may be and can be finished with '
|
||||
'custom-install-finalize.')
|
||||
else:
|
||||
if result['installed']:
|
||||
if copied_3dsx:
|
||||
message = ('custom-install-finalize has been copied to the SD card.\n'
|
||||
@@ -429,10 +434,6 @@ class CustomInstallGUI(ttk.Frame):
|
||||
else:
|
||||
message = ('To finish the install, run custom-install-finalize on the console.\n'
|
||||
'This will install a ticket and seed if required.')
|
||||
else:
|
||||
if result['failed']:
|
||||
message = ('Some titles failed to install. Others may be and can be finished with '
|
||||
'custom-install-finalize.')
|
||||
else:
|
||||
message = 'Nothing was installed.'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user