Skip to content

Commit 7f07217

Browse files
committed
create-appimage.sh: bundle decor if having vulkan
1 parent af553d6 commit 7f07217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/scripts/Linux-AppImage/create-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ fi
6666
append() { eval "$1=\"\$$1\${$1:+ }$2\""; }
6767

6868
# deploy libdecor + its plugin(s) - it is dlopen-ed so not automatic
69-
if [ -f $APPPREFIX/lib/ultragrid/ultragrid_display_gl.so ] ||
70-
[ -f $APPPREFIX/lib/ultragrid/ultragrid_display_sdl.so ]; then
69+
pref=$APPPREFIX/lib/ultragrid/ultragrid_display_
70+
if [ -f ${pref}gl.so ] || [ -f ${pref}sdl.so ] || [ -f ${pref}vulkan.so ]; then
7171
libdecor=$(find /usr/lib -name libdecor-0.so.0 | head -n 1)
7272
if [ -f "$libdecor" ]; then
7373
cp "$libdecor" $APPPREFIX/lib/

0 commit comments

Comments
 (0)