[PATCH 2/2] winebrowser: Open the default browser if called without an argument.

Alexandre Julliard julliard at winehq.org
Wed Aug 2 15:29:11 CDT 2017


Zebediah Figura <zfigura at codeweavers.com> writes:

> xdg-open can't handle this, so work around with the following command
> (suggested by Vincent Povirk):
> gtk-launch `xdg-mime query default x-scheme-handler/http`
>
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
>  programs/winebrowser/main.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

I'd suggest to simply open the default start page in that case. That's
what iexplore does when there are no arguments.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list