diff --git a/flatpak/dev.nuculabs.ImageTagger.yaml b/flatpak/dev.nuculabs.ImageTagger.yaml index 2081b5b..157e708 100644 --- a/flatpak/dev.nuculabs.ImageTagger.yaml +++ b/flatpak/dev.nuculabs.ImageTagger.yaml @@ -24,9 +24,11 @@ modules: - cp -R legal /app/bin/image/ - cp -R release /app/bin/image/ # Desktop Integration + - chmod +x /app/bin/image/lib/jexec + - chmod +x /app/bin/image/lib/jspawnhelper - mkdir -p bin /app/share/{applications,icons/hicolor/512x512/apps,metainfo} - mv ${FLATPAK_ID}.desktop /app/share/applications/${FLATPAK_ID}.desktop - - mv ${FLATPAK_ID}.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png + - mv ${FLATPAK_ID}.png /app/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png sources: - type: archive path: ../img-ui/build/distributions/ImageTagger-linux.zip diff --git a/flatpak/readme.md b/flatpak/readme.md index 1cbf0d3..f67b23f 100644 --- a/flatpak/readme.md +++ b/flatpak/readme.md @@ -1,3 +1,18 @@ # Flatpak -This directory contains the flatpak build files. \ No newline at end of file +This directory contains the flatpak build files. + +If you are on Linux and would like to install this application as a Flatpak image then +build the application with gradle: + +``` +# in parrent folder: +./gradlew jlinkZip +``` + +And execute: + +```shell +cd flatpak +./debug.sh +``` diff --git a/readme.md b/readme.md index 93056bd..36c8515 100644 --- a/readme.md +++ b/readme.md @@ -17,6 +17,8 @@ It allows photographers to automate the image tagging process. 📸 Photo credit: [https://unsplash.com/@ndcphoto](https://unsplash.com/@ndcphoto) +Alternatively see [Flatpak](./flatpak/readme.md) installation instructions. + ## Development If you want to build the application yourself, you will need Java 17 JDK and the