import com.threerings.getdown.util.MessageUtil;
import com.threerings.getdown.util.Rectangle;
import com.threerings.getdown.util.StringUtil;
-
import static com.threerings.getdown.Log.log;
+import com.install4j.api.launcher.Variables;
/**
* Displays download and patching status.
StringBuilder labelText = new StringBuilder();
if (_ifc.displayVersion) {
- labelText.append("launcher version: "+Build.version());
+ labelText.append("launcher version: " + Build.version());
+ labelText.append("\n");
+ try {
+ labelText.append("install4j version: " + Variables.getCompilerVariable("sys.install4jVersion"));
+ } catch(java.io.IOException e) {
+ labelText.append("install4j version: not available");
+ }
+ labelText.append("\n");
+ labelText.append("installer version: " + System.getProperty("installer_template_version"));
labelText.append("\n");
}
if (_ifc.displayAppbase) {
- labelText.append("appbase: "+_appbase);
+ labelText.append("appbase: " + _appbase);
labelText.append("\n");
}
labelText.append(status);
sb.append("\n");
sb.append(System.getProperty("os.arch") + " " + System.getProperty("os.name") + " " + System.getProperty("os.version"));
sb.append("\n");
- System.out.println("Install4j version: "
+ sb.append("Install4j version: "
+ System.getProperty("sys.install4jVersion"));
- System.out.println("Install4j template version: "
+ sb.append("\n");
+ sb.append("Install4j template version: "
+ System.getProperty("installer_template_version"));
- System.out.println(
+ sb.append("\n");
+ sb.append(
"Launcher version: " + System.getProperty("launcher_version"));
-
+ sb.append("\n");
if (jalview.bin.Cache.getDefault("VERSION", "TEST").equals("DEVELOPMENT")) {
sb.append("Getdown appdir: " + System.getProperty("getdownappdir"));
sb.append("\n");