Skip Internet Explorer setup in new_system_setup()

* Fixes issue #59
This commit is contained in:
2Shirt 2019-03-17 18:29:41 -06:00
parent a7926e58a4
commit 2bde723c43
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 4 additions and 2 deletions

View file

@ -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)

View file

@ -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')