Skip to content

Commit

Permalink
Use linuxdeploy-plugin-gtk to deploy gtk dependencies
Browse files Browse the repository at this point in the history
related: #57
related: #50
Signed-off-by: Christian Brabandt <[email protected]>
  • Loading branch information
chrisbra committed Sep 12, 2023
1 parent 5e5139e commit 401531e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}

Expand Down

0 comments on commit 401531e

Please sign in to comment.