File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ def _preferred_browser():
78
78
if sys .platform != "linux" : # On other platforms, we have no browser preference
79
79
return None
80
80
browser_path = "/usr/bin/microsoft-edge" # Use a full path owned by sys admin
81
+ # Note: /usr/bin/microsoft-edge, /usr/bin/microsoft-edge-stable, etc.
82
+ # are symlinks that point to the actual binaries which are found under
83
+ # /opt/microsoft/msedge/msedge or /opt/microsoft/msedge-beta/msedge.
84
+ # Either method can be used to detect an Edge installation.
81
85
user_has_no_preference = "BROWSER" not in os .environ
82
86
user_wont_mind_edge = "microsoft-edge" in os .environ .get ("BROWSER" , "" ) # Note:
83
87
# BROWSER could contain "microsoft-edge" or "/path/to/microsoft-edge".
You can’t perform that action at this time.
0 commit comments