diff --git a/.bin/Scripts/functions/update.py b/.bin/Scripts/functions/update.py index 16a23afa..145f3642 100644 --- a/.bin/Scripts/functions/update.py +++ b/.bin/Scripts/functions/update.py @@ -639,7 +639,7 @@ def update_adobe_reader_dc(): def update_eset_config(): """Copy config files to .cbin before compress_item""" - dest = r'{}\ESETConfigs'.format(global_vars['cbindir']) + dest = r'{}\ESETConfigs'.format(global_vars['CBinDir']) include_path = r'{}\_include\ESETConfigs'.format(global_vars['CBinDir']) if os.path.exists(include_path): shutil.copytree(include_path, dest) @@ -853,17 +853,18 @@ def update_shutup10(): # Remove existing folders remove_from_kit('ShutUp10') + # Copy settings + dest = r'{}\ShutUp10'.format(global_vars['CBinDir']) + include_path = r'{}\_include\ShutUp10'.format(global_vars['CBinDir']) + if os.path.exists(include_path): + shutil.copytree(include_path, dest) + # Download download_generic( r'{}\ShutUp10'.format(global_vars['CBinDir']), 'OOSU10.exe', SOURCE_URLS['ShutUp10']) - # Copy settings - include_path = r'{}\_include\ESETConfigs'.format(global_vars['CBinDir']) - if os.path.exists(include_path): - shutil.copytree(include_path, dest) - def update_wiztree(): # Stop running processes for process in ['WizTree.exe', 'WizTree64.exe']: