JAL-3631 Correct some text to add the file separator which is being looked for too...
authorBen Soares <b.soares@dundee.ac.uk>
Wed, 24 Jul 2024 13:17:47 +0000 (14:17 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Wed, 24 Jul 2024 13:17:47 +0000 (14:17 +0100)
utils/install4j/install4j10_template.install4j

index 61a5d07..2ada2c2 100644 (file)
@@ -1231,7 +1231,7 @@ The following substitutions will be made:
 &lt;table&gt;
 &lt;tr&gt;&lt;td&gt;%u&lt;/td&gt;&lt;td&gt;The user's username&lt;/td&gt;&lt;/tr&gt;
 &lt;tr&gt;&lt;td&gt;%h&lt;/td&gt;&lt;td&gt;The user's home directory path&lt;/td&gt;&lt;/tr&gt;
-&lt;tr&gt;&lt;td&gt;~&lt;/td&gt;&lt;td&gt;(at start) The user's home directory path&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;~${installer:sys.fileSeparator}&lt;/td&gt;&lt;td&gt;(at start) The user's home directory path${installer:sys.fileSeparator}&lt;/td&gt;&lt;/tr&gt;
 &lt;/table&gt;
 At least one of the above substitutions should be
 &lt;br&gt;
@@ -1362,7 +1362,7 @@ component.setEnabled(enableSetDefaults);</initScript>
                               <string>${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/warning.png</string>
                             </object>
                           </property>
-                          <property name="labelText" type="string">The user-space path should contain one of "~" (at the start), "%u" or "%h"</property>
+                          <property name="labelText" type="string">The user-space path should contain one of "~${installer:sys.fileSeparator}" (at the start), "%u" or "%h"</property>
                         </serializedBean>
                         <visibilityScript>String userAppdirPath = (String) context.getVariable("userAppdirPath");
 
@@ -2730,6 +2730,6 @@ ${compiler:JALVIEW_APPLICATION_NAME} will now launch.</property>
     </unixInstaller>
   </mediaSets>
   <buildIds buildAll="false">
-    <mediaSet refId="3046" />
+    <mediaSet refId="3042" />
   </buildIds>
 </install4j>