Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
2Shirt 2024-06-03 21:09:40 -07:00
commit d3fb1d590c
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 8 additions and 4 deletions

View file

@ -76,6 +76,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),
@ -90,6 +91,7 @@ BASE_MENUS = {
PRESETS = { PRESETS = {
'Default': { # Will be expanded at runtime using BASE_MENUS 'Default': { # Will be expanded at runtime using BASE_MENUS
'Options': ( 'Options': (
'Run AVRemover (once)',
'Run RKill', 'Run RKill',
'Sync Clock', 'Sync Clock',
), ),
@ -170,6 +172,7 @@ PRESETS = {
'Enable Windows Updates', 'Enable Windows Updates',
), ),
'Options': ( 'Options': (
'Run AVRemover (once)',
'Run RKill', 'Run RKill',
'Sync Clock', 'Sync Clock',
), ),

View file

@ -338,10 +338,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('')