Run DISM RestoreHealth in D7_MODE

This commit is contained in:
2Shirt 2018-08-19 12:14:34 -07:00
parent 31a3d5a43b
commit 4e022ed843
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -63,8 +63,12 @@ if __name__ == '__main__':
function=run_chkdsk, other_results=other_results)
try_and_print(message='SFC scan...',
function=run_sfc_scan, other_results=other_results)
try_and_print(message='DISM CheckHealth...',
function=run_dism, other_results=other_results, repair=False)
if D7_MODE:
try_and_print(message='DISM RestoreHealth...',
function=run_dism, other_results=other_results, repair=True)
else:
try_and_print(message='DISM CheckHealth...',
function=run_dism, other_results=other_results, repair=False)
if D7_MODE:
@ -131,3 +135,5 @@ if __name__ == '__main__':
pass
except:
major_exception()
# vim: sts=4 sw=4 ts=4