diff --git a/clapper-appimage.sh b/clapper-appimage.sh index 6f8b9f1..2d195f7 100644 --- a/clapper-appimage.sh +++ b/clapper-appimage.sh @@ -19,6 +19,16 @@ export DEPLOY_OPENGL=1 export DEPLOY_GSTREAMER=1 export STARTUPWMCLASS=clapper # For Wayland, this is 'com.github.rafostar.Clapper', so this needs to be changed in desktop file manually by the user in that case until some potential automatic fix exists for this +sys_clapper_dir=$(echo /usr/lib/clapper-*) +if [ -d "$sys_clapper_dir" ]; then + export PATH_MAPPING=" + $sys_clapper_dir:\${SHARUN_DIR}/lib/${sys_clapper_dir##*/} + " +else + >&2 echo "ERROR: Cannot find the clapper lib dir" + exit 1 +fi + # DEPLOY ALL LIBS wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun chmod +x ./quick-sharun diff --git a/get-dependencies.sh b/get-dependencies.sh index f7fa338..266f757 100755 --- a/get-dependencies.sh +++ b/get-dependencies.sh @@ -13,6 +13,7 @@ pacman -Syu --noconfirm \ curl \ desktop-file-utils \ git \ + gst-plugins-bad \ libxtst \ wget \ xorg-server-xvfb \