From d3fb9f43494359cc6dddccb56e63f02b8eb44fd2 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 22 Sep 2022 14:23:32 +0200 Subject: [PATCH] mitmweb: use `gio` to open browser where available --- mitmproxy/tools/web/webaddons.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitmproxy/tools/web/webaddons.py b/mitmproxy/tools/web/webaddons.py index cb71488b2..3ba42f12a 100644 --- a/mitmproxy/tools/web/webaddons.py +++ b/mitmproxy/tools/web/webaddons.py @@ -43,6 +43,7 @@ def open_browser(url: str) -> bool: "windows-default", "macosx", "wslview %s", + "gio", "x-www-browser %s", "gnome-open %s", "xdg-open",