More bugfixes for reset_browser split
This commit is contained in:
parent
b57374b177
commit
90a9751883
3 changed files with 1 additions and 9 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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?')
|
||||
|
|
|
|||
Loading…
Reference in a new issue