diff --git a/.github/workflows/build-release-artifacts.yml b/.github/workflows/build-release-artifacts.yml index 3570ade..beccbdf 100644 --- a/.github/workflows/build-release-artifacts.yml +++ b/.github/workflows/build-release-artifacts.yml @@ -41,7 +41,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: Image Organizer-1.0.dmg + asset_path: image-organizer-1.0.dmg asset_name: image-organizer.dmg asset_content_type: application/x-apple-diskimage build-exe: @@ -59,6 +59,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: Image Organizer-1.0.exe + asset_path: image-organizer-1.0.exe asset_name: image-organizer.exe asset_content_type: application/vnd.microsoft.portable-executable diff --git a/.gitignore b/.gitignore index 67127f1..0fa96da 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ pom.xml.asc /.cpcache *.dmg *.exe +*.deb /.clj-kondo/.cache \ No newline at end of file diff --git a/jpackage/common b/jpackage/common index c861ae5..4c16f92 100644 --- a/jpackage/common +++ b/jpackage/common @@ -1,7 +1,8 @@ --input dist --main-jar image-organizer.jar ---name "Image Organizer" +--name "image-organizer" --main-class clojure.main --arguments -m --arguments image-organizer.core --resource-dir resources + diff --git a/resources/Image Organizer.icns b/resources/image-organizer.icns similarity index 100% rename from resources/Image Organizer.icns rename to resources/image-organizer.icns diff --git a/resources/Image Organizer.ico b/resources/image-organizer.ico similarity index 100% rename from resources/Image Organizer.ico rename to resources/image-organizer.ico diff --git a/resources/Image Organizer.png b/resources/image-organizer.png similarity index 100% rename from resources/Image Organizer.png rename to resources/image-organizer.png diff --git a/src/image_organizer/core.clj b/src/image_organizer/core.clj index 5b4c8fe..f8b712b 100644 --- a/src/image_organizer/core.clj +++ b/src/image_organizer/core.clj @@ -22,7 +22,7 @@ :exception nil :is-repl? true :logo-image nil - :version "v1.01" + :version "v1.02" :app-name "Image Organizer"})) (def event-handler diff --git a/src/image_organizer/util.clj b/src/image_organizer/util.clj index 49a751b..b3a0031 100644 --- a/src/image_organizer/util.clj +++ b/src/image_organizer/util.clj @@ -106,7 +106,7 @@ (defn logo-image-url "Load the URL of the logo image file" [] - (str (io/resource "Image Organizer.png"))) + (str (io/resource "image-organizer.png"))) (defn file->url "Gets the URL of a file"