From 8cdb1921ce07a64f5db2d363ff9b6ebf27184c62 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 4 Sep 2024 14:28:04 +0800 Subject: [PATCH] wrapper-manager/sandboxing/bubblewrap: update launcher and add changelog to subproject --- .../sandboxing/bubblewrap/launcher/CHANGELOG.adoc | 15 +++++++++++++++ .../sandboxing/bubblewrap/launcher/app.sh | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 modules/wrapper-manager/sandboxing/bubblewrap/launcher/CHANGELOG.adoc diff --git a/modules/wrapper-manager/sandboxing/bubblewrap/launcher/CHANGELOG.adoc b/modules/wrapper-manager/sandboxing/bubblewrap/launcher/CHANGELOG.adoc new file mode 100644 index 00000000..046a4a07 --- /dev/null +++ b/modules/wrapper-manager/sandboxing/bubblewrap/launcher/CHANGELOG.adoc @@ -0,0 +1,15 @@ += Changelog +:toc: + +All changes in this project will be documented for the users. +The structure is loosely based on https://keepachangelog.com/en/1.1.0/[Keep a changelog format]. + + +[#0-1-0] +== 0.1.0 (Unreleased) + +=== Added + +* Add conditional flags for Wayland, Pipewire, Pulseaudio, and X11-enabled setups. +* Init xdg-dbus-proxy support. +* Init Linux foot:[Pretty much the only OS to be supported.] support. diff --git a/modules/wrapper-manager/sandboxing/bubblewrap/launcher/app.sh b/modules/wrapper-manager/sandboxing/bubblewrap/launcher/app.sh index d14ab32c..fd40ab61 100644 --- a/modules/wrapper-manager/sandboxing/bubblewrap/launcher/app.sh +++ b/modules/wrapper-manager/sandboxing/bubblewrap/launcher/app.sh @@ -87,10 +87,11 @@ fi # if the *DBUS_PROXY_ARGS envvar is set. if [ -n "${WRAPPER_MANAGER_BWRAP_LAUNCHER_DBUS_PROXY_ARGS}" ] && [ -n "${WRAPPER_MANAGER_BWRAP_LAUNCHER_DBUS_PROXY}" ]; then ( + # We need the proxy-specific bwrap arguments to split since they are + # passed as a string. # shellcheck disable=2068 ${WRAPPER_MANAGER_BWRAP_LAUNCHER_BWRAP} \ ${WRAPPER_MANAGER_BWRAP_LAUNCHER_DBUS_PROXY_BWRAP_ARGS[@]} \ - "${additional_flags[@]}" \ -- "${WRAPPER_MANAGER_BWRAP_LAUNCHER_DBUS_PROXY}" \ ${WRAPPER_MANAGER_BWRAP_LAUNCHER_DBUS_PROXY_ARGS[@]} ) &