Fixed WizTree extraction
This commit is contained in:
parent
089cdba4f9
commit
723f1ad4ad
1 changed files with 5 additions and 0 deletions
5
.bin/Scripts/functions/update.py
Normal file → Executable file
5
.bin/Scripts/functions/update.py
Normal file → Executable file
|
|
@ -843,8 +843,13 @@ def update_wiztree():
|
||||||
|
|
||||||
# Extract files
|
# Extract files
|
||||||
extract_temp_to_cbin('wiztree.zip', 'WizTree')
|
extract_temp_to_cbin('wiztree.zip', 'WizTree')
|
||||||
|
## NOTE: It's double-zipped for some reason?
|
||||||
|
extract_generic(
|
||||||
|
r'{}\WizTree\wiztree'.format(global_vars['CBinDir']),
|
||||||
|
r'{}\WizTree'.format(global_vars['CBinDir']))
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
remove_item(r'{}\WizTree\wiztree'.format(global_vars['CBinDir']))
|
||||||
remove_from_temp('wiztree.zip')
|
remove_from_temp('wiztree.zip')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue