From 401531e496d669f8b993e5c8461d11cdfe772ff1 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 12 Sep 2023 13:13:13 +0200 Subject: [PATCH] Use linuxdeploy-plugin-gtk to deploy gtk dependencies related: #57 related: #50 Signed-off-by: Christian Brabandt --- scripts/appimage.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/appimage.sh b/scripts/appimage.sh index 5f781473..f157b6e3 100755 --- a/scripts/appimage.sh +++ b/scripts/appimage.sh @@ -26,6 +26,12 @@ make_appimage() -O linuxdeploy.appimage \ && chmod +x linuxdeploy.appimage ) + if [[ "$APP" == "GVim" ]]; then + wget -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh" + chmod +x linuxdeploy-plugin-gtk.sh + PLUGIN="--plugin gtk" + fi + pushd ${APP}.AppDir cat <<'EOF' > AppRun #!/bin/bash @@ -43,6 +49,7 @@ EOF ./linuxdeploy.appimage --appdir "$APP.AppDir" \ -d "${SOURCE_DIR}/runtime/${LOWERAPP}.desktop" \ -i "${SOURCE_DIR}/runtime/${LOWERAPP}.png" \ + ${PLUGIN:-} \ --output appimage }