From 7388d94c5023c3c2f48966708d55784fa598580c Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Thu, 14 Oct 2021 23:58:46 -0600 Subject: [PATCH] Fix bugs --- scripts/wk/kit/build_win.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/wk/kit/build_win.py b/scripts/wk/kit/build_win.py index 2a11ece2..e2fcd441 100644 --- a/scripts/wk/kit/build_win.py +++ b/scripts/wk/kit/build_win.py @@ -277,7 +277,7 @@ def download_openshell(): """Download OpenShell installer and Fluent-Metro skin.""" for name in ('OpenShell.exe', 'Fluent-Metro.zip'): out_path = BIN_DIR.joinpath(f'OpenShell/{name}') - download_file(out_path, SOURCES[name]) + download_file(out_path, SOURCES[name[:-4]]) def download_putty(): @@ -364,6 +364,7 @@ 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')