Merge pull request #4011 from G-Rath/patch-1

Support using `wslview` as a browser to open web url
This commit is contained in:
Maximilian Hils 2020-06-12 12:09:31 +02:00 committed by GitHub
commit 465db6f394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ def open_browser(url: str) -> bool:
False, if no suitable browser has been found. False, if no suitable browser has been found.
""" """
browsers = ( browsers = (
"windows-default", "macosx", "windows-default", "wslview %s", "macosx",
"google-chrome", "chrome", "chromium", "chromium-browser", "google-chrome", "chrome", "chromium", "chromium-browser",
"firefox", "opera", "safari", "firefox", "opera", "safari",
) )