Cleanup ClientDir during the System Checklists

This commit is contained in:
2Shirt 2018-10-07 21:29:57 -06:00
parent a8a2fce662
commit 8d0ad7c20d
2 changed files with 9 additions and 0 deletions

View file

@ -63,6 +63,9 @@ if __name__ == '__main__':
function=cleanup_emsisoft, cs='Done')
try_and_print(message='Registry Backup(s)...',
function=cleanup_regbackups, cs='Done')
try_and_print(message='{}...'.format(KIT_NAME_FULL),
function=delete_empty_folders, cs='Done',
folder_path=global_vars['ClientDir'])
# Export system info
if not D7_MODE:

View file

@ -61,6 +61,12 @@ if __name__ == '__main__':
try_and_print(message='Registry...',
function=backup_registry, cs='Done', other_results=other_results)
# Cleanup
print_info('Cleanup')
try_and_print(message='{}...'.format(KIT_NAME_FULL),
function=delete_empty_folders, cs='Done',
folder_path=global_vars['ClientDir'])
# User data
print_info('User Data')
show_user_data_summary()