Add uninstaller sections

This commit is contained in:
2Shirt 2021-05-01 20:00:46 -06:00
parent 080e440d23
commit ff43bc79b8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 14 additions and 1 deletions

View file

@ -82,7 +82,7 @@ BASE_MENUS = {
),
'Manual Steps': (
MenuEntry('AdwCleaner', 'auto_adwcleaner'),
MenuEntry('IO Bit Uninstaller', placeholder_function),
MenuEntry('IO Bit Uninstaller', 'auto_iobit_uninstaller'),
MenuEntry('Enable Windows Updates', 'auto_windows_updates_enable'),
),
},

View file

@ -640,6 +640,14 @@ def auto_hitmanpro(group, name):
save_settings(group, name, result=result)
def auto_iobit_uninstaller(group, name):
"""Run IO Bit Uninstaller scan."""
result = TRY_PRINT.run(
'IO Bit Uninstaller...', run_iobit_uninstaller, msg_good='DONE',
)
save_settings(group, name, result=result)
def auto_kvrt(group, name):
"""Run KVRT scan."""
result = TRY_PRINT.run('KVRT...', run_kvrt, msg_good='DONE')
@ -802,6 +810,11 @@ def run_hitmanpro():
)
def run_iobit_uninstaller():
"""Run IO Bit Uninstaller."""
run_tool('IObitUninstallerPortable', 'IObitUninstallerPortable', cbin=True)
def run_kvrt():
"""Run KVRT scan."""
log_path = format_log_path(log_name='KVRT', timestamp=True, tool=True)