Cleanup ClientDir during the System Checklists
This commit is contained in:
parent
a8a2fce662
commit
8d0ad7c20d
2 changed files with 9 additions and 0 deletions
|
|
@ -63,6 +63,9 @@ if __name__ == '__main__':
|
||||||
function=cleanup_emsisoft, cs='Done')
|
function=cleanup_emsisoft, cs='Done')
|
||||||
try_and_print(message='Registry Backup(s)...',
|
try_and_print(message='Registry Backup(s)...',
|
||||||
function=cleanup_regbackups, cs='Done')
|
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
|
# Export system info
|
||||||
if not D7_MODE:
|
if not D7_MODE:
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,12 @@ if __name__ == '__main__':
|
||||||
try_and_print(message='Registry...',
|
try_and_print(message='Registry...',
|
||||||
function=backup_registry, cs='Done', other_results=other_results)
|
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
|
# User data
|
||||||
print_info('User Data')
|
print_info('User Data')
|
||||||
show_user_data_summary()
|
show_user_data_summary()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue