diff --git a/.bin/Scripts/functions/browsers.py b/.bin/Scripts/functions/browsers.py index 7efa4af8..7e963032 100644 --- a/.bin/Scripts/functions/browsers.py +++ b/.bin/Scripts/functions/browsers.py @@ -150,7 +150,7 @@ def archive_browser(name): """Create backup of Browser saved in the BackupDir.""" source = '{}*'.format(browser_data[name]['user_data_path']) dest = r'{BackupDir}\Browsers ({USERNAME})'.format( - **global_vars, **env) + **global_vars, **global_vars['Env']) archive = r'{}\{}.7z'.format(dest, name) os.makedirs(dest, exist_ok=True) cmd = [ diff --git a/.bin/Scripts/reset_browsers.py b/.bin/Scripts/reset_browsers.py index 900263ee..e47cecbe 100644 --- a/.bin/Scripts/reset_browsers.py +++ b/.bin/Scripts/reset_browsers.py @@ -46,14 +46,7 @@ if __name__ == '__main__': print_info('Resetting browsers') reset_browsers() - # Configure - print_info('Installing uBlock Origin') - install_adblock() - # Done - if not D7_MODE: - print_standard('\nDone.') - pause('Press Enter to exit...') exit_script() except SystemExit: pass diff --git a/.bin/Scripts/user_checklist.py b/.bin/Scripts/user_checklist.py index 70511269..e71b4e96 100644 --- a/.bin/Scripts/user_checklist.py +++ b/.bin/Scripts/user_checklist.py @@ -34,7 +34,6 @@ if __name__ == '__main__': else: answer_reset_browsers = ask( 'Reset browsers to safe defaults first?') - answer_reset_browsers = ask( if global_vars['OS']['Version'] == '10': #answer_config_classicshell = ask('Configure ClassicShell?') #answer_config_explorer_user = ask('Configure Explorer?')