Run DISM RestoreHealth in D7_MODE
This commit is contained in:
parent
31a3d5a43b
commit
4e022ed843
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue