Make Sync Clock optional

This commit is contained in:
2Shirt 2021-05-01 20:01:01 -06:00
parent ff43bc79b8
commit 9b6bfa2760
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 6 additions and 4 deletions

View file

@ -90,6 +90,7 @@ BASE_MENUS = {
MenuEntry('Kill Explorer'),
MenuEntry('Run RKill'),
MenuEntry('Run TDSSKiller (once)'),
MenuEntry('Sync Clock'),
MenuEntry('Use Autologon'),
),
'Actions': (

View file

@ -274,10 +274,11 @@ def init_run(options):
if options['Kill Explorer']['Selected']:
atexit.register(start_explorer)
TRY_PRINT.run('Killing Explorer...', kill_explorer, msg_good='DONE')
TRY_PRINT.run(
'Syncing Clock...', run_tool, 'Neutron', 'Neutron',
cbin=True, msg_good='DONE',
)
if options['Sync Clock']['Selected']:
TRY_PRINT.run(
'Syncing Clock...', run_tool, 'Neutron', 'Neutron',
cbin=True, msg_good='DONE',
)
if options['Run RKill']['Selected']:
TRY_PRINT.run('Running RKill...', run_rkill, msg_good='DONE')