Make AVRemover optional
This commit is contained in:
parent
4a54b6e00c
commit
97842e82f2
2 changed files with 6 additions and 4 deletions
|
|
@ -67,6 +67,7 @@ BASE_MENUS = {
|
||||||
},
|
},
|
||||||
'Options': (
|
'Options': (
|
||||||
MenuEntry('Kill Explorer', selected=False),
|
MenuEntry('Kill Explorer', selected=False),
|
||||||
|
MenuEntry('Run AVRemover (once)'),
|
||||||
MenuEntry('Run RKill'),
|
MenuEntry('Run RKill'),
|
||||||
MenuEntry('Sync Clock'),
|
MenuEntry('Sync Clock'),
|
||||||
MenuEntry('Use Autologon', selected=False),
|
MenuEntry('Use Autologon', selected=False),
|
||||||
|
|
|
||||||
|
|
@ -312,10 +312,11 @@ def init_session(options) -> None:
|
||||||
set_timezone(WINDOWS_TIME_ZONE)
|
set_timezone(WINDOWS_TIME_ZONE)
|
||||||
|
|
||||||
# One-time tasks
|
# One-time tasks
|
||||||
TRY_PRINT.run(
|
if options['Run AVRemover (once)']['Selected']:
|
||||||
'Run AVRemover...', run_tool, 'AVRemover', 'AVRemover',
|
TRY_PRINT.run(
|
||||||
download=True, msg_good='DONE',
|
'Run AVRemover...', run_tool, 'AVRemover', 'AVRemover',
|
||||||
)
|
download=True, msg_good='DONE',
|
||||||
|
)
|
||||||
print('')
|
print('')
|
||||||
reboot(30)
|
reboot(30)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue