Replace reg delete by registry_delete

This commit is contained in:
Heuze Florent 2021-02-09 14:36:40 +01:00
parent 6c1c7f6b1a
commit 2daf9320b8
1 changed files with 2 additions and 3 deletions

View File

@ -145,9 +145,8 @@ def uninstall():
run(uninstall_cmd(thunderbird['key']))
print('Removing registry entries')
run(r'reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Thunderbird" /v "DisableAppUpdate" /f')
run(r'reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Thunderbird" /v "DisableTelemetry" /f')
registry_delete(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Mozilla\Thunderbird', 'DisableAppUpdate')
registry_delete(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Mozilla\Thunderbird', 'DisableTelemetry')
def audit():