Replaced TreeSizeFree with WizTree

This commit is contained in:
2Shirt 2018-09-16 19:44:41 -06:00
parent f3885f25d6
commit bc57230418
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
3 changed files with 11 additions and 10 deletions

View file

@ -760,22 +760,23 @@ def update_putty():
# Cleanup # Cleanup
remove_from_temp('putty.zip') remove_from_temp('putty.zip')
def update_treesizefree(): def update_wiztree():
# Stop running processes # Stop running processes
kill_process('TreeSizeFree.exe') for process in ['WizTree.exe', 'WizTree64.exe']:
kill_process(process)
# Remove existing folders # Remove existing folders
remove_from_kit('TreeSizeFree') remove_from_kit('WizTree')
# Download # Download
download_to_temp( download_to_temp(
'treesizefree.zip', SOURCE_URLS['TreeSizeFree']) 'wiztree.zip', SOURCE_URLS['WizTree'])
# Extract files # Extract files
extract_temp_to_cbin('treesizefree.zip', 'TreeSizeFree') extract_temp_to_cbin('wiztree.zip', 'WizTree')
# Cleanup # Cleanup
remove_from_temp('treesizefree.zip') remove_from_temp('wiztree.zip')
def update_xmplay(): def update_xmplay():
# Stop running processes # Stop running processes

View file

@ -475,10 +475,10 @@ LAUNCHERS = {
'L_PATH': 'PuTTY', 'L_PATH': 'PuTTY',
'L_ITEM': 'PUTTY.EXE', 'L_ITEM': 'PUTTY.EXE',
}, },
'TreeSizeFree': { 'WizTree': {
'L_TYPE': 'Executable', 'L_TYPE': 'Executable',
'L_PATH': 'TreeSizeFree', 'L_PATH': 'WizTree',
'L_ITEM': 'TreeSizeFree.exe', 'L_ITEM': 'WizTree.exe',
'L_ELEV': 'True', 'L_ELEV': 'True',
}, },
'Update Kit': { 'Update Kit': {

View file

@ -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='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='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='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) try_and_print(message='XMPlay...', function=update_xmplay, other_results=other_results, width=40)
# Repairs # Repairs