Add WinAIO Repair
This commit is contained in:
parent
2301c89b8c
commit
33d1f42002
5 changed files with 147 additions and 116 deletions
|
|
@ -879,6 +879,29 @@ def update_tdsskiller():
|
|||
'TDSSKiller.exe',
|
||||
SOURCE_URLS['TDSSKiller'])
|
||||
|
||||
def update_winaiorepair():
|
||||
# Stop running processes
|
||||
kill_process('Repair_Windows.exe')
|
||||
|
||||
# Remove existing folders
|
||||
remove_from_kit('WinAIO Repair')
|
||||
|
||||
# Download
|
||||
download_to_temp('winaio.zip', SOURCE_URLS['WinAIO Repair'])
|
||||
|
||||
# Extract
|
||||
extract_temp_to_cbin('winaio.zip', 'WinAIO Repair')
|
||||
dest = r'{}\WinAIO Repair'.format(global_vars['CBinDir'])
|
||||
for item in os.scandir(r'{}\Tweaking.com - Windows Repair'.format(dest)):
|
||||
dest_item = '{}\{}'.format(dest, item.name)
|
||||
if not os.path.exists(dest_item):
|
||||
shutil.move(item.path, dest_item)
|
||||
shutil.rmtree(
|
||||
r'{}\WinAIO Repair\Tweaking.com - Windows Repair'.format(global_vars['CBinDir']))
|
||||
|
||||
# Cleanup
|
||||
remove_from_temp('winaio.zip')
|
||||
|
||||
## Uninstallers ##
|
||||
def update_iobit_uninstaller():
|
||||
# Stop running processes
|
||||
|
|
|
|||
|
|
@ -619,6 +619,12 @@ LAUNCHERS = {
|
|||
r'mkdir "%q_dir%">nul 2>&1',
|
||||
],
|
||||
},
|
||||
'WinAIO Repair': {
|
||||
'L_TYPE': 'Executable',
|
||||
'L_PATH': 'WinAIO Repair',
|
||||
'L_ITEM': 'Repair_Windows.exe',
|
||||
'L_ELEV': 'True',
|
||||
},
|
||||
},
|
||||
r'Uninstallers': {
|
||||
'IObit Uninstaller': {
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ SOURCE_URLS = {
|
|||
'TreeSizeFree': 'https://www.jam-software.com/treesize_free/TreeSizeFree-Portable.zip',
|
||||
'wimlib32': 'https://wimlib.net/downloads/wimlib-1.12.0-windows-i686-bin.zip',
|
||||
'wimlib64': 'https://wimlib.net/downloads/wimlib-1.12.0-windows-x86_64-bin.zip',
|
||||
'WinAIO Repair': 'http://www.tweaking.com/files/setups/tweaking.com_windows_repair_aio.zip',
|
||||
'Winapp2': 'https://github.com/MoscaDotTo/Winapp2/archive/master.zip',
|
||||
'XMPlay 7z': 'http://support.xmplay.com/files/16/xmp-7z.zip?v=800962',
|
||||
'XMPlay Game': 'http://support.xmplay.com/files/12/xmp-gme.zip?v=515637',
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ if __name__ == '__main__':
|
|||
try_and_print(message='KVRT...', function=update_kvrt, other_results=other_results, width=40)
|
||||
try_and_print(message='RKill...', function=update_rkill, other_results=other_results, width=40)
|
||||
try_and_print(message='TDSSKiller...', function=update_tdsskiller, other_results=other_results, width=40)
|
||||
try_and_print(message='WinAIO Repair...', function=update_winaiorepair, other_results=other_results, width=40)
|
||||
|
||||
# Uninstallers
|
||||
print_info(' Uninstallers')
|
||||
|
|
|
|||
BIN
.cbin/_include/WinAIO Repair/settings.ini
Normal file
BIN
.cbin/_include/WinAIO Repair/settings.ini
Normal file
Binary file not shown.
Loading…
Reference in a new issue