Skip to content

Commit 7426b7c

Browse files
author
Patrick Meenan
committed
Added Edgium aliases for the Chromium-based Edge browsers
1 parent bb0c208 commit 7426b7c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

wptagent.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,11 +633,17 @@ def find_browsers():
633633
browser_name = 'Microsoft {0} (Chromium)'.format(channel)
634634
if browser_name not in browsers:
635635
browsers[browser_name] = {'exe': edge_path}
636+
if channel == 'Edge' and 'Edgium' not in browsers:
637+
browsers['Edgium'] = {'exe': edge_path}
638+
elif channel == 'Edge Dev' and 'Edgium Dev' not in browsers:
639+
browsers['Edgium Dev'] = {'exe': edge_path}
636640
if local_appdata is not None and 'Microsoft Edge Canary (Chromium)' not in browsers:
637641
edge_path = os.path.join(local_appdata, 'Microsoft', 'Edge SxS',
638642
'Application', 'msedge.exe')
639643
if os.path.isfile(edge_path):
640644
browsers['Microsoft Edge Canary (Chromium)'] = {'exe': edge_path}
645+
if 'Edgium Canary' not in browsers:
646+
browsers['Edgium Canary'] = {'exe': edge_path}
641647
# Internet Explorer
642648
paths = [program_files, program_files_x86]
643649
for path in paths:

0 commit comments

Comments
 (0)