Fix bugs
This commit is contained in:
parent
5d54b6de4b
commit
7388d94c50
1 changed files with 2 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ def download_openshell():
|
||||||
"""Download OpenShell installer and Fluent-Metro skin."""
|
"""Download OpenShell installer and Fluent-Metro skin."""
|
||||||
for name in ('OpenShell.exe', 'Fluent-Metro.zip'):
|
for name in ('OpenShell.exe', 'Fluent-Metro.zip'):
|
||||||
out_path = BIN_DIR.joinpath(f'OpenShell/{name}')
|
out_path = BIN_DIR.joinpath(f'OpenShell/{name}')
|
||||||
download_file(out_path, SOURCES[name])
|
download_file(out_path, SOURCES[name[:-4]])
|
||||||
|
|
||||||
|
|
||||||
def download_putty():
|
def download_putty():
|
||||||
|
|
@ -364,6 +364,7 @@ def download_testdisk():
|
||||||
tmp_path = TMP_DIR.joinpath('TestDisk')
|
tmp_path = TMP_DIR.joinpath('TestDisk')
|
||||||
extract_archive(archive, tmp_path)
|
extract_archive(archive, tmp_path)
|
||||||
rename_item(tmp_path.joinpath('testdisk-7.2-WIP'), out_path)
|
rename_item(tmp_path.joinpath('testdisk-7.2-WIP'), out_path)
|
||||||
|
delete_from_temp('TestDisk')
|
||||||
delete_from_temp('testdisk_wip.zip')
|
delete_from_temp('testdisk_wip.zip')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue