From a1aae5614f6b04e66f9f5b8841d34cde8e06d5b5 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Wed, 24 Jul 2024 14:17:47 +0100 Subject: [PATCH] JAL-3631 Correct some text to add the file separator which is being looked for too in substitutions --- utils/install4j/install4j10_template.install4j | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/install4j/install4j10_template.install4j b/utils/install4j/install4j10_template.install4j index 61a5d07..2ada2c2 100644 --- a/utils/install4j/install4j10_template.install4j +++ b/utils/install4j/install4j10_template.install4j @@ -1231,7 +1231,7 @@ The following substitutions will be made: <table> <tr><td>%u</td><td>The user's username</td></tr> <tr><td>%h</td><td>The user's home directory path</td></tr> -<tr><td>~</td><td>(at start) The user's home directory path</td></tr> +<tr><td>~${installer:sys.fileSeparator}</td><td>(at start) The user's home directory path${installer:sys.fileSeparator}</td></tr> </table> At least one of the above substitutions should be <br> @@ -1362,7 +1362,7 @@ component.setEnabled(enableSetDefaults); ${compiler:JALVIEW_DIR}/${compiler:INSTALL4J_UTILS_DIR}/warning.png - The user-space path should contain one of "~" (at the start), "%u" or "%h" + The user-space path should contain one of "~${installer:sys.fileSeparator}" (at the start), "%u" or "%h" String userAppdirPath = (String) context.getVariable("userAppdirPath"); @@ -2730,6 +2730,6 @@ ${compiler:JALVIEW_APPLICATION_NAME} will now launch. - + -- 1.7.10.2