org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak

Since WebKitGTK does not currently support printing under Flatpak,
enable RW access to XDG downloads folder, so at least people can print
to a PDF, then print that.

See https://github.com/flathub/org.gnome.Geary/issues/42
This commit is contained in:
Michael Gratton 2021-01-17 20:17:10 +11:00
parent ec4ced4109
commit 29f6ae63b0
2 changed files with 5 additions and 1 deletions

View file

@ -27,6 +27,7 @@
"--metadata=X-DConf=migrate-path=/org/gnome/Geary/",
"--filesystem=~/.config/geary:ro",
"--filesystem=~/.var/app/org.gnome.Geary/config/geary:ro",
"--filesystem=xdg-download:rw",
"--filesystem=/tmp"
],
"cleanup": [

View file

@ -61,7 +61,10 @@ finish-args:
- "--filesystem=~/.config/geary:ro"
- "--filesystem=~/.var/app/org.gnome.Geary/config/geary:ro"
# Let view source keep on working as-sis for now. Bug 779311. */
# Workaround for printing to PDF until WebKitGTK supports printing
- "--filesystem=xdg-download:rw"
# Let view source keep on working as-sis for now. Bug 779311.
- "--filesystem=/tmp"
cleanup: