Skip to content

Detect Snap sandbox in addition to Flatpak

Phaedrus Leeds requested to merge mwleeds/epiphany:check-for-snap-sandbox into master

Snaps use the same portals as Flatpak, so we should detect whether we're running as a Snap when deciding whether to use portals or disable features that are impossible in these different but similar sandboxing technologies.

This is mostly academic because the Snap of Epiphany appears to be outdated, but it is more correct so let's do it.

Merge request reports