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('Kill Explorer'),
MenuEntry('Run RKill'), MenuEntry('Run RKill'),
MenuEntry('Run TDSSKiller (once)'), MenuEntry('Run TDSSKiller (once)'),
MenuEntry('Sync Clock'),
MenuEntry('Use Autologon'), MenuEntry('Use Autologon'),
), ),
'Actions': ( 'Actions': (

View file

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