Fixed Windows uninstaller being removed during Bazarr upgrade. #1693

pull/1704/head v1.0.3-beta.19
morpheus65535 3 years ago
parent d879128dcd
commit e99d58d77e

@ -205,7 +205,7 @@ def update_cleaner(zipfile, bazarr_dir, config_dir):
logging.debug(f'BAZARR upgrade leftover cleaner will ignore directories matching this '
f'regex: {dir_to_ignore_regex.pattern}')
file_to_ignore = ['nssm.exe', '7za.exe']
file_to_ignore = ['nssm.exe', '7za.exe', 'unins000.exe', 'unins000.dat']
logging.debug('BAZARR upgrade leftover cleaner will ignore those files: {}'.format(', '.join(file_to_ignore)))
extension_to_ignore = ['.pyc']
logging.debug('BAZARR upgrade leftover cleaner will ignore files with those extensions: '

Loading…
Cancel
Save