mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Show uninstaller information in "info" command
This commit is contained in:
parent
e0428b497e
commit
0e35b70941
|
@ -1780,6 +1780,17 @@ class LegendaryCLI:
|
||||||
else:
|
else:
|
||||||
manifest_info.append(InfoItem('Prerequisites', 'prerequisites', None, None))
|
manifest_info.append(InfoItem('Prerequisites', 'prerequisites', None, None))
|
||||||
|
|
||||||
|
if manifest.meta.uninstall_action_path:
|
||||||
|
human_list = [
|
||||||
|
f'Uninstaller path: {manifest.meta.uninstall_action_path}',
|
||||||
|
f'Uninstaller args: {manifest.meta.uninstall_action_args or "(None)"}',
|
||||||
|
]
|
||||||
|
manifest_info.append(InfoItem('Uninstaller', 'uninstaller', human_list,
|
||||||
|
dict(path=manifest.meta.uninstall_action_path,
|
||||||
|
args=manifest.meta.uninstall_action_args)))
|
||||||
|
else:
|
||||||
|
manifest_info.append(InfoItem('Uninstaller', 'uninstaller', None, None))
|
||||||
|
|
||||||
install_tags = {''}
|
install_tags = {''}
|
||||||
for fm in manifest.file_manifest_list.elements:
|
for fm in manifest.file_manifest_list.elements:
|
||||||
for tag in fm.install_tags:
|
for tag in fm.install_tags:
|
||||||
|
|
Loading…
Reference in a new issue