{
defaultProps.put("install4j_version", val);
}
- val = System.getProperty("installer_template_version");
+ val = System.getProperty("installer.template_version");
if (val != null)
{
defaultProps.put("install4j_template_version", val);
appendIfNotNull(sb, "Install4j version: ",
System.getProperty("sys.install4jVersion"), "\n", null);
appendIfNotNull(sb, "Install4j template version: ",
- System.getProperty("installer_template_version"), "\n", null);
+ System.getProperty("installer.template_version"), "\n", null);
appendIfNotNull(sb, "Launcher version: ",
System.getProperty("launcher_version"), "\n", null);
LookAndFeel laf = UIManager.getLookAndFeel();
{
Console.outPrintln("Install4j version: " + val);
}
- val = System.getProperty("installer_template_version");
+ val = System.getProperty("installer.template_version");
if (val != null)
{
Console.outPrintln("Install4j template version: " + val);
private static final ArrayList<Image> iconList;
+ public static final String FALLBACK_APPNAME = "Jalview";
+
static
{
defaultProps = new Properties();
// these should be kept up to date, but in real life they should never
// actually be used anyway.
- defaultProps.put("app_name", "Jalview");
+ defaultProps.put("app_name", FALLBACK_APPNAME);
defaultProps.put("banner", "/default_images/jalview_banner.png");
defaultProps.put("logo.16", "/default_images/jalview_logo-16.png");
defaultProps.put("logo.32", "/default_images/jalview_logo-32.png");
// appName and "Jalview" will not point to javaw.exe or java.exe but in
// this case that's okay because the taskbar display name problem doesn't
// manifest in Windows. See JAL-3820, JAL-4189.
- for (String name : new String[] { appName, "Jalview", java, javaExe })
+ for (String name : new String[] { appName, ChannelProperties.FALLBACK_APPNAME, java, javaExe })
{
if (LaunchUtils.checkJVMSymlink(javaBinDir + name, winConsole))
{