This commit is contained in:
2Shirt 2021-10-15 00:26:36 -06:00
parent fb4ddb5cbe
commit c608ed3af3
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 7 additions and 2 deletions

View file

@ -67,7 +67,7 @@ SOURCES = {
'ShutUp10': 'https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe',
'TestDisk': 'https://www.cgsecurity.org/testdisk-7.2-WIP.win.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',
'WinSCP': 'https://sourceforge.net/projects/winscp/files/WinSCP/5.19.3/WinSCP-5.19.3-Portable.zip/download',
'WizTree': 'https://wiztreefree.com/files/wiztree_3_39_portable.zip',
'XMPlay': 'https://support.xmplay.com/files/20/xmplay385.zip?v=47090',
'XMPlay 7z': 'https://support.xmplay.com/files/16/xmp-7z.zip?v=800962',

View file

@ -381,7 +381,12 @@ def download_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)
for item in tmp_path.joinpath('Tweaking.com - Windows Repair').iterdir():
try:
rename_item(item, out_path.joinpath(item.name))
except FileExistsError:
# Ignore and use our defaults
pass
delete_from_temp('WinRepairAIO')
delete_from_temp('winrepairaio.zip')