Fix flatpak build: --socket=pipewire is not a valid finish-arg

flatpak build-finish rejects it outright ("Unknown socket type
pipewire, valid types are: x11, wayland, pulseaudio, session-bus,
system-bus, fallback-x11, ssh-auth, pcsc, cups, gpg-agent,
inherit-wayland-socket"). Direct PipeWire socket access is granted via
--filesystem=xdg-run/pipewire-0 instead (same approach other
sandboxed apps needing raw PipeWire, e.g. OBS Studio's flatpak, use).
This commit is contained in:
2026-07-03 12:29:04 -04:00
parent 6b2e9ec669
commit c5108c125f
+1 -1
View File
@@ -1279,7 +1279,7 @@ module.exports = {
'--device=all', '--device=all',
// Audio output + WebRTC screen/mic capture via PipeWire // Audio output + WebRTC screen/mic capture via PipeWire
'--socket=pulseaudio', '--socket=pulseaudio',
'--socket=pipewire', '--filesystem=xdg-run/pipewire-0',
'--filesystem=home', '--filesystem=home',
'--share=network', '--share=network',
// System notifications // System notifications