From 2bde723c43cfe3f1b81188fe92e276c020f4d719 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 17 Mar 2019 18:29:41 -0600 Subject: [PATCH] Skip Internet Explorer setup in new_system_setup() * Fixes issue #59 --- .bin/Scripts/functions/browsers.py | 4 +++- .bin/Scripts/new_system_setup.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.bin/Scripts/functions/browsers.py b/.bin/Scripts/functions/browsers.py index dcb0ed2f..7d042989 100644 --- a/.bin/Scripts/functions/browsers.py +++ b/.bin/Scripts/functions/browsers.py @@ -437,11 +437,13 @@ def reset_browsers(indent=8, width=32): other_results=other_results, profile=profile) -def scan_for_browsers(just_firefox=False): +def scan_for_browsers(just_firefox=False, skip_ie=False): """Scan system for any supported browsers.""" for name, details in sorted(SUPPORTED_BROWSERS.items()): if just_firefox and details['base'] != 'mozilla': continue + if skip_ie and details['base'] == 'ie': + continue try_and_print(message='{}...'.format(name), function=get_browser_details, cs='Detected', other_results=other_results, name=name) diff --git a/.bin/Scripts/new_system_setup.py b/.bin/Scripts/new_system_setup.py index 4000c281..9bfd7503 100644 --- a/.bin/Scripts/new_system_setup.py +++ b/.bin/Scripts/new_system_setup.py @@ -97,7 +97,7 @@ if __name__ == '__main__': # Scan for supported browsers print_info('Scanning for browsers') - scan_for_browsers() + scan_for_browsers(skip_ie=True) # Install extensions print_info('Installing Extensions')