JAL-4421 Add --appname --appxpos --appypos to position variable application name...
[jalview.git] / build.gradle
index a8d55dd..3a5f351 100644 (file)
@@ -2863,7 +2863,14 @@ python {
 task install4jCustomiseDS_StoreX64(type: PythonTask) {
   inputs.file(install4jDMGDSStore)
   outputs.file(install4jDMGFixedDSStoreX64)
-  def command_args = [ jalview_customise_ds_store, '--input', install4jDMGDSStore, '--output', install4jDMGFixedDSStoreX64, '--volumename', install4jmacOSArchiveX64Name, '--backgroundfile', install4j_dmg_background_filename, '--dmg', install4jmacOSArchiveX64DMGFilename + ".dmg" ]
+  def command_args = [ jalview_customise_ds_store,
+    '--input', install4jDMGDSStore,
+    '--output', install4jDMGFixedDSStoreX64,
+    '--volumename', install4jmacOSArchiveX64Name,
+    '--backgroundfile', install4j_dmg_background_filename,
+    '--dmg', install4jmacOSArchiveX64DMGFilename + ".dmg",
+    '--appname', "${applicationName}.app",
+  ]
   if (file(install4jDMGDSStoreJSON).exists()) {
     command_args += [ '--config', install4jDMGDSStoreJSON ]
     inputs.file(install4jDMGDSStoreJSON)
@@ -2877,7 +2884,14 @@ task install4jCustomiseDS_StoreX64(type: PythonTask) {
 task install4jCustomiseDS_StoreAarch64(type: PythonTask) {
   inputs.file(install4jDMGDSStore)
   outputs.file(install4jDMGFixedDSStoreAarch64)
-  def command_args = [ jalview_customise_ds_store, '--input', install4jDMGDSStore, '--output', install4jDMGFixedDSStoreAarch64, '--volumename', install4jmacOSArchiveAarch64Name, '--backgroundfile', install4j_dmg_background_filename, '--dmg', install4jmacOSArchiveAarch64DMGFilename + ".dmg" ]
+  def command_args = [ jalview_customise_ds_store,
+    '--input', install4jDMGDSStore,
+    '--output', install4jDMGFixedDSStoreAarch64,
+    '--volumename', install4jmacOSArchiveAarch64Name,
+    '--backgroundfile', install4j_dmg_background_filename,
+    '--dmg', install4jmacOSArchiveAarch64DMGFilename + ".dmg",
+    '--appname', "${applicationName}.app",
+  ]
   if (file(install4jDMGDSStoreJSON).exists()) {
     command_args += [ '--config', install4jDMGDSStoreJSON ]
     inputs.file(install4jDMGDSStoreJSON)