diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 35eb1dd..d9197b4 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/img-ui/build.gradle b/img-ui/build.gradle index 071c894..5d50bdd 100644 --- a/img-ui/build.gradle +++ b/img-ui/build.gradle @@ -59,7 +59,7 @@ test { } jlink { - imageZip = project.file("${buildDir}/distributions/ImageTagger-${javafx.platform.classifier}-${version}.zip") + imageZip = project.file("${buildDir}/distributions/ImageTagger-${javafx.platform.classifier}.zip") options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages'] launcher { name = 'ImageTagger' diff --git a/readme.md b/readme.md index bf34769..93056bd 100644 --- a/readme.md +++ b/readme.md @@ -38,13 +38,23 @@ zip file which contains the deep learning models and place them into the To build the project run: ```bash -gradle build +gradlew build ``` To run: ```bash -gradle run +gradlew run +``` + +### Building the FlatPak + +To build the Flatpak run the following commands: + +```shell +gradlew jlinkZip +cd flatpak +flatpak-builder --sandbox --user --install --force-clean build-dir dev.nuculabs.ImageTagger.yaml ``` # Blog