Skip to content

Commit 3720721

Browse files
committed
create-appimage.sh: bundle decor if having vulkan
in additon to gl and sdl check, bundle also if having vulkan This should be covered by the sdl case, anyways - vulkan display uses sdl for window management so this usually implies that sdl display will be present as well, unless explicitly disabled.
1 parent ca4b44d commit 3720721

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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+
pfix=$APPPREFIX/lib/ultragrid/ultragrid_display_
70+
if [ -f ${pfix}gl.so ] || [ -f ${pfix}sdl.so ] || [ -f ${pfix}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)