Commit e98522f6 authored by Florian Müllner's avatar Florian Müllner Committed by Christian Hergert

flatpak: allow applications to talk to portals

Portals are explicitly designed to give sandboxed applications access to
resources in a secure manner, and flatpak therefore grants all applications
permission to talk to any portal.

As a result, few manifests will explicitly request that permission, so
to have apps work as expected when run through our flatpak-runner instead
of flatpak itself, we should grant them the same permission.

parent 4f3806b7
......@@ -120,6 +120,8 @@ gbp_flatpak_runner_fixup_launcher (IdeRunner *runner,
ide_subprocess_launcher_insert_argv (launcher, i++, "--socket=wayland");
ide_subprocess_launcher_insert_argv (launcher, i++, "--talk-name=org.freedesktop.portal.*");
/* Proxy environment stuff to the launcher */
if ((env = ide_runner_get_environment (runner)) &&
(environ = ide_environment_get_environ (env)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment