CI: Remove AppRun hook from cross AppImage

We handle setting QT_QPA_PLATFORMTHEME early during startup.
pull/3705/head
Stenzek 5 months ago
parent 3c3f9e3eb4
commit 4acd4a099c
No known key found for this signature in database

@ -1,21 +0,0 @@
#! /usr/bin/env bash
# autogenerated by linuxdeploy
# make sure errors in sourced scripts will cause this script to stop
set -e
this_dir="$(readlink -f "$(dirname "$0")")"
# generated by linuxdeploy-plugin-qt
# try to make Qt apps more "native looking" on Gtk-based desktops, if possible
# see https://github.com/AppImage/AppImageKit/issues/977#issue-462374883
case "${XDG_CURRENT_DESKTOP}" in
*GNOME*|*gnome*|*XFCE*)
export QT_QPA_PLATFORMTHEME=gtk3
;;
esac
exec "$this_dir"/AppRun.wrapped "$@"

@ -325,10 +325,8 @@ echo "Generating AppStream metainfo..."
mkdir -p "$OUTDIR/usr/share/metainfo"
"$SCRIPTDIR/generate-metainfo.sh" "$OUTDIR/usr/share/metainfo"
# Copy AppRun
cp "$SCRIPTDIR/apprun-cross.sh" "$OUTDIR/AppRun"
chmod +x "$OUTDIR/AppRun"
ln -s "usr/bin/$BINARY" "$OUTDIR/AppRun.wrapped"
# Link AppRun to main binary.
ln -s "usr/bin/$BINARY" "$OUTDIR/AppRun"
echo "Generating AppImage..."
rm -f "$APPIMAGENAME.AppImage"

Loading…
Cancel
Save