Fixed updating WinAIO Repair
This commit is contained in:
parent
56a74798e5
commit
0546ac3e84
1 changed files with 5 additions and 6 deletions
|
|
@ -138,7 +138,9 @@ def remove_from_kit(item):
|
||||||
item_locations = []
|
item_locations = []
|
||||||
for p in [global_vars['BinDir'], global_vars['CBinDir']]:
|
for p in [global_vars['BinDir'], global_vars['CBinDir']]:
|
||||||
item_locations.append(r'{}\{}'.format(p, item))
|
item_locations.append(r'{}\{}'.format(p, item))
|
||||||
|
item_locations.append(r'{}\{}.7z'.format(p, item))
|
||||||
item_locations.append(r'{}\_Drivers\{}'.format(p, item))
|
item_locations.append(r'{}\_Drivers\{}'.format(p, item))
|
||||||
|
item_locations.append(r'{}\_Drivers\{}.7z'.format(p, item))
|
||||||
for item_path in item_locations:
|
for item_path in item_locations:
|
||||||
remove_item(item_path)
|
remove_item(item_path)
|
||||||
|
|
||||||
|
|
@ -996,9 +998,6 @@ def update_winaiorepair():
|
||||||
# Stop running processes
|
# Stop running processes
|
||||||
kill_process('Repair_Windows.exe')
|
kill_process('Repair_Windows.exe')
|
||||||
|
|
||||||
# Remove existing folders
|
|
||||||
remove_from_kit('WinAIO Repair')
|
|
||||||
|
|
||||||
# Download
|
# Download
|
||||||
download_to_temp('winaio.zip', SOURCE_URLS['WinAIO Repair'])
|
download_to_temp('winaio.zip', SOURCE_URLS['WinAIO Repair'])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue