From bc572304186bf867f6c1b69313b9f77e0752e4e9 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 16 Sep 2018 19:44:41 -0600 Subject: [PATCH] Replaced TreeSizeFree with WizTree --- .bin/Scripts/functions/update.py | 13 +++++++------ .bin/Scripts/settings/launchers.py | 6 +++--- .bin/Scripts/update_kit.py | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.bin/Scripts/functions/update.py b/.bin/Scripts/functions/update.py index 9e1c3e34..809f98e0 100644 --- a/.bin/Scripts/functions/update.py +++ b/.bin/Scripts/functions/update.py @@ -760,22 +760,23 @@ def update_putty(): # Cleanup remove_from_temp('putty.zip') -def update_treesizefree(): +def update_wiztree(): # Stop running processes - kill_process('TreeSizeFree.exe') + for process in ['WizTree.exe', 'WizTree64.exe']: + kill_process(process) # Remove existing folders - remove_from_kit('TreeSizeFree') + remove_from_kit('WizTree') # Download download_to_temp( - 'treesizefree.zip', SOURCE_URLS['TreeSizeFree']) + 'wiztree.zip', SOURCE_URLS['WizTree']) # Extract files - extract_temp_to_cbin('treesizefree.zip', 'TreeSizeFree') + extract_temp_to_cbin('wiztree.zip', 'WizTree') # Cleanup - remove_from_temp('treesizefree.zip') + remove_from_temp('wiztree.zip') def update_xmplay(): # Stop running processes diff --git a/.bin/Scripts/settings/launchers.py b/.bin/Scripts/settings/launchers.py index 0e819553..e2d74832 100644 --- a/.bin/Scripts/settings/launchers.py +++ b/.bin/Scripts/settings/launchers.py @@ -475,10 +475,10 @@ LAUNCHERS = { 'L_PATH': 'PuTTY', 'L_ITEM': 'PUTTY.EXE', }, - 'TreeSizeFree': { + 'WizTree': { 'L_TYPE': 'Executable', - 'L_PATH': 'TreeSizeFree', - 'L_ITEM': 'TreeSizeFree.exe', + 'L_PATH': 'WizTree', + 'L_ITEM': 'WizTree.exe', 'L_ELEV': 'True', }, 'Update Kit': { diff --git a/.bin/Scripts/update_kit.py b/.bin/Scripts/update_kit.py index 6a5cdf82..7f9b251d 100644 --- a/.bin/Scripts/update_kit.py +++ b/.bin/Scripts/update_kit.py @@ -70,7 +70,7 @@ if __name__ == '__main__': try_and_print(message='FirefoxExtensions...', function=update_firefox_ublock_origin, other_results=other_results, width=40) try_and_print(message='PuTTY...', function=update_putty, other_results=other_results, width=40) try_and_print(message='Notepad++...', function=update_notepadplusplus, other_results=other_results, width=40) - try_and_print(message='TreeSizeFree...', function=update_treesizefree, other_results=other_results, width=40) + try_and_print(message='WizTree...', function=update_wiztree, other_results=other_results, width=40) try_and_print(message='XMPlay...', function=update_xmplay, other_results=other_results, width=40) # Repairs