JAL-4409 Ensure the specific scheme jalviewx is only for the release version
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 28 May 2024 12:21:24 +0000 (13:21 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 28 May 2024 12:21:24 +0000 (13:21 +0100)
build.gradle

index 437c43a..ea663de 100644 (file)
@@ -238,7 +238,7 @@ ext {
   install4jDMGBackgroundImageFile = "${install4j_dmg_background}"
   install4jInstallerName = "${jalview_name} Non-Release Installer"
   install4jExecutableName = install4j_executable_name
-  install4jExtraScheme = "jalviewx"
+  install4jExtraScheme = "jalviewextra"
   install4jMacIconsFile = string("${install4j_images_dir}/${install4j_mac_icons_file}")
   install4jWindowsIconsFile = string("${install4j_images_dir}/${install4j_windows_icons_file}")
   install4jPngIconFile = string("${install4j_images_dir}/${install4j_png_icon_file}")
@@ -269,6 +269,7 @@ ext {
     reportRsyncCommand = true
     install4jSuffix = ""
     install4jInstallerName = "${jalview_name} Installer"
+    install4jExtraScheme = (CHANNEL=="RELEASE")?"jalviewx":"jalviewjs"
     break
 
     case "ARCHIVE":