Skip to content

Commit

Permalink
Merge pull request #60 from chrisbra/gtk-linuxdeploy
Browse files Browse the repository at this point in the history
Use linuxdeploy-plugin-gtk to deploy gtk dependencies
  • Loading branch information
chrisbra authored Sep 12, 2023
2 parents 5e5139e + 401531e commit ce300ec
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 ce300ec

Please sign in to comment.