From d8cdc894ce81aa888e6a002b53fedde2cd22ae51 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 21 May 2022 09:40:14 +0200 Subject: [PATCH] Make sure there are no Gtk plugins, #145 #149 #150 #151 #152 #161 #166 --- ci/build-appimages.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ci/build-appimages.sh b/ci/build-appimages.sh index b3bd528..6482881 100755 --- a/ci/build-appimages.sh +++ b/ci/build-appimages.sh @@ -103,12 +103,11 @@ for app in appimageupdatetool AppImageUpdate; do # Apparently linuxdeploy puts them in and there is no apparent way to disable this # https://github.com/linuxdeploy/linuxdeploy-plugin-qt/issues/109 # All of the following fail because... Docker? - # apt-get remove qt5-gtk-platformtheme || true - # apt-get remove qt5-xdgdesktopportal-platformtheme || true - # rm /usr/lib/*/qt5/plugins/platformthemes/libqgtk*.so /usr/lib/*/qt5/plugins/platformthemes/libqxdgdesktopportal.so || true + sudo apt-get remove qt5-gtk-platformtheme || true + sudo apt-get remove qt5-xdgdesktopportal-platformtheme || true # Really desperate attempt now - find / -name 'libqgtk*.so' -delete || true - find / -name 'libqxdgdesktopportal.so' -delete || true + sudo find / -name 'libqgtk*.so' -delete || true + sudo find / -name 'libqxdgdesktopportal.so' -delete || true # bundle application ./linuxdeploy-"$ARCH".AppImage -v0 --appdir "$app".AppDir --output appimage "${EXTRA_FLAGS[@]}" -d "$REPO_ROOT"/resources/"$app".desktop -i "$REPO_ROOT"/resources/appimage.png