Add Windows Repair AIO

This commit is contained in:
2Shirt 2021-10-14 19:11:51 -06:00
parent 9f59885dbc
commit a0fe13c7c2
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
6 changed files with 41 additions and 1 deletions

View file

@ -237,6 +237,33 @@ LAUNCHERS = {
'L_PATH': 'PuTTY',
'L_ITEM': 'PUTTY.EXE',
},
'Windows Repair AIO': {
'L_TYPE': 'Executable',
'L_PATH': 'WinRepairAIO',
'L_ITEM': 'Repair_Windows.exe',
'L_ELEV': 'True',
'Extra Code': [
r'copy /y "%bin%\WinRepairAIO\__empty.ini" "%bin%\WinRepairAIO\settings.ini"',
],
},
'Windows Repair AIO (Fix Associations)': {
'L_TYPE': 'Executable',
'L_PATH': 'WinRepairAIO',
'L_ITEM': 'Repair_Windows.exe',
'L_ELEV': 'True',
'Extra Code': [
r'copy /y "%bin%\WinRepairAIO\__associations.ini" "%bin%\WinRepairAIO\settings.ini"',
],
},
'Windows Repair AIO (Fix Permissions)': {
'L_TYPE': 'Executable',
'L_PATH': 'WinRepairAIO',
'L_ITEM': 'Repair_Windows.exe',
'L_ELEV': 'True',
'Extra Code': [
r'copy /y "%bin%\WinRepairAIO\__permissions.ini" "%bin%\WinRepairAIO\settings.ini"',
],
},
'WizTree': {
'L_TYPE': 'Executable',
'L_PATH': 'WizTree',

View file

@ -66,7 +66,7 @@ SOURCES = {
'SDIO Torrent': 'http://snappy-driver-installer.org/downloads/SDIO_Update.torrent',
'ShutUp10': 'https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe',
'TestDisk': 'https://www.cgsecurity.org/testdisk-7.2-WIP.win.zip',
'WinAIO Repair': 'http://www.tweaking.com/files/setups/tweaking.com_windows_repair_aio.zip',
'Windows Repair AIO': 'http://www.tweaking.com/files/setups/tweaking.com_windows_repair_aio.zip',
'WinSCP': 'https://cdn.winscp.net/files/WinSCP-5.19.3-Portable.zip?secure=iCBRi6uUbZhemz82zxjEqw==,1634262014',
'WizTree': 'https://wiztreefree.com/files/wiztree_3_39_portable.zip',
'XMPlay': 'https://support.xmplay.com/files/20/xmplay385.zip?v=47090',

View file

@ -371,9 +371,21 @@ def download_testdisk():
tmp_path = TMP_DIR.joinpath('TestDisk')
extract_archive(archive, tmp_path)
rename_item(tmp_path.joinpath('testdisk-7.2-WIP'), out_path)
delete_from_temp('TestDisk')
delete_from_temp('testdisk_wip.zip')
def download_winaio():
"""Download Windows Repair AIO."""
archive = download_to_temp('winrepairaio.zip', SOURCES['Windows Repair AIO'])
out_path = BIN_DIR.joinpath('WinRepairAIO')
tmp_path = TMP_DIR.joinpath('WinRepairAIO')
extract_archive(archive, tmp_path)
rename_item(tmp_path.joinpath('Tweaking.com - Windows Repair'), out_path)
delete_from_temp('WinRepairAIO')
delete_from_temp('winrepairaio.zip')
def download_winscp():
"""Download WinSCP."""
archive = download_to_temp('winscp.zip', SOURCES['WinSCP'])
@ -509,6 +521,7 @@ def build_kit():
try_print.run('PuTTY...', download_putty)
try_print.run('Snappy Driver Installer...', download_snappy_driver_installer_origin)
try_print.run('TestDisk...', download_testdisk)
try_print.run('Windows Repair AIO...', download_windows_repair_aio)
try_print.run('WinSCP...', download_winscp)
try_print.run('WizTree...', download_wiztree)
try_print.run('XMPlay...', download_xmplay)