diff build.xml @ 11:e52fd1a575de

Add Mac icons.
author David Barts <n5jrn@me.com>
date Fri, 10 Apr 2020 20:58:03 -0700
parents dc1f4359659d
children 2d64f17bba9b
line wrap: on
line diff
--- a/build.xml	Fri Apr 10 19:29:58 2020 -0700
+++ b/build.xml	Fri Apr 10 20:58:03 2020 -0700
@@ -108,6 +108,7 @@
   <macrodef name="bundle">
     <attribute name="type"/>
     <element name="args"/>
+    <element name="icons"/>
     <sequential>
       <fx:deploy nativeBundles="@{type}" outdir="${basedir}" outfile="${app.name}"
         signBundle="false">
@@ -115,7 +116,9 @@
           version="1.0"/>
         <fx:info description="ExifWasher" title="${app.name}"
           vendor="David Barts &lt;n5jrn@me.com&gt;"
-          copyright="© MMXX, David W. Barts"/>
+          copyright="© MMXX, David W. Barts">
+          <icons/>
+        </fx:info>
         <fx:resources>
           <fx:fileset dir="${basedir}" includes="${lc.app.name}.jar"/>
         </fx:resources>
@@ -130,6 +133,9 @@
       <args>
         <fx:bundleArgument arg="jvmOptions" value="-Xdock:name=${app.name}"/>
       </args>
+      <icons>
+        <fx:icon href="${basedir}/ExifWasher.icns"/>
+      </icons>
     </bundle>
   </target>