mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
Merge pull request #4011 from G-Rath/patch-1
Support using `wslview` as a browser to open web url
This commit is contained in:
commit
465db6f394
@ -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",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user