add home directory access for flatpak

This commit is contained in:
ReenigneArcher 2022-08-24 22:29:20 -04:00
parent 83ea433857
commit 642c4a9ed7
No known key found for this signature in database
GPG Key ID: 0CA6A47B0630EA9B

View File

@ -6,16 +6,16 @@ sdk: org.freedesktop.Sdk
command: sunshine command: sunshine
separate-locales: false separate-locales: false
finish-args: finish-args:
- --device=all - --device=all # access all devices
- --env=PULSE_PROP_media.category=Manager - --env=PULSE_PROP_media.category=Manager # allow sunshine to manage audio sinks
- --persist=.config/sunshine - --filesystem=home # need to save files in user's home directory
- --share=ipc - --share=ipc # required for X11 shared memory extension
- --share=network - --share=network # access network
- --socket=pulseaudio - --socket=pulseaudio # play sounds using pulseaudio
- --socket=wayland - --socket=wayland # show windows using Wayland
- --socket=x11 - --socket=x11 # show windows using X11
- --system-talk-name=org.freedesktop.Avahi - --system-talk-name=org.freedesktop.Avahi # talk to avahi on the system bus
- --talk-name=org.freedesktop.Flatpak - --talk-name=org.freedesktop.Flatpak # talk to flatpak on the session bus
cleanup: cleanup:
- /include - /include