Skip to content
Snippets Groups Projects
Commit 2f212fc2 authored by Ludovico de Nittis's avatar Ludovico de Nittis Committed by Simon McVittie
Browse files

urlopen: Add a more clever xdg-open executable

When inside a Steam Runtime container we currently make `xdg-open`
points to the `flatpak-xdg-utils` implementation that relies on
`xdg-desktop-portal`. But if an user doesn't have a working
`xdg-desktop-portal` it will fail.

Additionally the `steam://`

 URLs might end up opening another instance
of the Steam client, even if one instance was already running. This can
happen if more than one version are installed, e.g. the Steam client
from the distro repositories and the Flatpak version.

With this alternative implementation we try a more clever approach that
should workaround the `xdg-open` shortcomings that we experienced in our
Steam related use cases.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
[smcv: Install all /usr/bin/steam-runtime-* executables]
Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 612a3f4c
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment