Set AdwCleaner settings before running
This commit is contained in:
parent
88373c5e10
commit
6f0ae5a6ad
2 changed files with 6 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ from wk.exe import (
|
|||
wait_for_procs,
|
||||
)
|
||||
from wk.io import (
|
||||
copy_file,
|
||||
delete_folder,
|
||||
get_path_obj,
|
||||
non_clobber_path,
|
||||
|
|
@ -928,6 +929,11 @@ def delete_registry_null_keys():
|
|||
|
||||
def run_adwcleaner():
|
||||
"""Run AdwCleaner."""
|
||||
settings_path = get_tool_path('AdwCleaner', 'AdwCleaner')
|
||||
settings_path = settings_path.with_name('settings')
|
||||
out_path = get_path_obj(f'{SYSTEMDRIVE}/AdwCleaner/settings')
|
||||
out_path.parent.mkdir(exist_ok=True)
|
||||
copy_file(settings_path, out_path, overwrite=True)
|
||||
run_tool('AdwCleaner', 'AdwCleaner', download=True)
|
||||
|
||||
|
||||
|
|
|
|||
BIN
setup/windows/bin/AdwCleaner/settings
Executable file
BIN
setup/windows/bin/AdwCleaner/settings
Executable file
Binary file not shown.
Loading…
Reference in a new issue