From 5ffa847a0d836bee3c2ee4ed6934cb70e0a8b070 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:45:09 -0400 Subject: [PATCH 1/2] patch alsa config to also look into bundled config dir --- lib4bin | 1 + 1 file changed, 1 insertion(+) diff --git a/lib4bin b/lib4bin index ee1601c..f0f3814 100755 --- a/lib4bin +++ b/lib4bin @@ -1034,6 +1034,7 @@ if [[ ! -d "$WRAPPE_DIR" || "$WITH_PYTHON" == 1 ]] hook_msg "copy alsa config..." try_mkdir "$dst_alsaconf_dir" try_cp -T "$sys_alsaconf_dir" "$dst_alsaconf_dir" + sed -i -e 's|"/etc/alsa/conf.d"|"/etc/alsa/conf.d"\n\t\t\t{ @func concat strings [ { @func getenv vars [ SHARUN_DIR ] default "" } "/share/alsa/alsa.conf.d" ] }|' "$dst_alsaconf_dir"/alsa.conf fi ;; */libxkbcommon*.so*) sys_xcb_dir="$(readlink -f /usr/share/X11/xkb)" From 93c20825cce3267c3a6469ca262b6066b5f2c278 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:55:35 -0400 Subject: [PATCH 2/2] just in case --- lib4bin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib4bin b/lib4bin index f0f3814..015f075 100755 --- a/lib4bin +++ b/lib4bin @@ -1034,7 +1034,7 @@ if [[ ! -d "$WRAPPE_DIR" || "$WITH_PYTHON" == 1 ]] hook_msg "copy alsa config..." try_mkdir "$dst_alsaconf_dir" try_cp -T "$sys_alsaconf_dir" "$dst_alsaconf_dir" - sed -i -e 's|"/etc/alsa/conf.d"|"/etc/alsa/conf.d"\n\t\t\t{ @func concat strings [ { @func getenv vars [ SHARUN_DIR ] default "" } "/share/alsa/alsa.conf.d" ] }|' "$dst_alsaconf_dir"/alsa.conf + [ -f "$dst_alsaconf_dir"/alsa.conf ] && sed -i -e 's|"/etc/alsa/conf.d"|"/etc/alsa/conf.d"\n\t\t\t{ @func concat strings [ { @func getenv vars [ SHARUN_DIR ] default "" } "/share/alsa/alsa.conf.d" ] }|' "$dst_alsaconf_dir"/alsa.conf fi ;; */libxkbcommon*.so*) sys_xcb_dir="$(readlink -f /usr/share/X11/xkb)"