Skip to content

Commit

Permalink
Update manifest examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hfiguiere authored and TingPing committed Oct 5, 2023
1 parent 87771e5 commit d91865c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions docs/manifests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ For example, the GNOME Dictionary manifest includes:
app-id: org.gnome.Dictionary
runtime: org.gnome.Platform
runtime-version: '43'
runtime-version: '44'
sdk: org.gnome.Sdk
command: gnome-dictionary
Expand Down Expand Up @@ -81,14 +81,15 @@ be seen in the Dictionary manifest file:
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
- --socket=fallback-x11
# Wayland access
- --socket=wayland
# GPU acceleration if needed
- --device=dri
# Needs to talk to the network:
- --share=network
# Needs to save files locally
- --filesystem=xdg-documents
- --metadata=X-DConf=migrate-path=/org/gnome/dictionary/
Guidance on which permissions to use can be found in the
:doc:`sandbox-permissions`, and a full list of ``finish-args`` options can be
Expand Down
5 changes: 2 additions & 3 deletions docs/qt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ straight-forward.
app-id: org.flatpak.qtdemo
runtime: org.kde.Platform
runtime-version: '5.11'
runtime-version: '5.15-22.08'
sdk: org.kde.Sdk
command: flatpak-demo
finish-args:
- --share=ipc
- --socket=x11
- --socket=fallback-x11
- --socket=wayland
- --filesystem=host
- --device=dri
modules:
- name: flatpak-demo
Expand Down

0 comments on commit d91865c

Please sign in to comment.