<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-SNAPSHOT</version>
+ <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
</parent>
<artifactId>getdown-ant</artifactId>
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-SNAPSHOT</version>
+ <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
</parent>
<artifactId>getdown-core</artifactId>
/** Whether to display the appbase. */
public final boolean displayAppbase;
+ /** Whether to display the version. */
+ public final boolean displayVersion;
+
/** The minimum number of seconds to display the GUI. This is to prevent the GUI from
* flashing up on the screen and immediately disappearing, which can be confusing to the
* user. */
", pb=" + progressBar + ", srect=" + status + ", st=" + statusText +
", shadow=" + textShadow + ", err=" + installError + ", nrect=" + patchNotes +
", notes=" + patchNotesUrl + ", stepPercentages=" + stepPercentages +
- ", hideProgressText=" + hideProgressText + ", keepOnTop=" + keepOnTop + ", minShow=" + minShowSeconds + "]";
+ ", hideProgressText=" + hideProgressText + ", keepOnTop=" + keepOnTop + ", minShow=" + minShowSeconds +
+ ", displayAppbase=" + displayAppbase + ", displayVersion=" + displayVersion + "]";
}
public UpdateInterface (Config config)
this.hideProgressText = config.getBoolean("ui.hide_progress_text");
this.keepOnTop = config.getBoolean("ui.keep_on_top");
this.displayAppbase = config.getBoolean("ui.display_appbase");
+ this.displayVersion = config.getBoolean("ui.display_version");
this.minShowSeconds = config.getInt("ui.min_show_seconds", 5);
this.progressBar = config.getColor("ui.progress_bar", 0x6699CC);
this.status = config.getRect("ui.status", new Rectangle(5, 25, 500, 100));
<parent>
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
- <version>1.8.3-SNAPSHOT</version>
+ <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
</parent>
<artifactId>getdown-launcher</artifactId>
import com.samskivert.util.Throttle;
import com.threerings.getdown.data.Application.UpdateInterface;
+import com.threerings.getdown.data.Build;
import com.threerings.getdown.util.MessageUtil;
import com.threerings.getdown.util.Rectangle;
import com.threerings.getdown.util.StringUtil;
}
StringBuilder labelText = new StringBuilder();
+ if (_ifc.displayVersion) {
+ labelText.append("version: "+Build.version());
+ labelText.append("\n");
+ }
if (_ifc.displayAppbase) {
- labelText.append(" appbase: "+_appbase);
+ labelText.append("appbase: "+_appbase);
labelText.append("\n");
}
labelText.append(status);
-mvn clean package -Dgetdown.host.whitelist="jalview.org,*.jalview.org" && cp launcher/target/getdown-launcher-1.8.3-SNAPSHOT.jar ../../../getdown/lib/getdown-launcher.jar && cp core/target/getdown-core-1.8.3-SNAPSHOT.jar ../../../getdown/lib/getdown-core-1.8.3-SNAPSHOT.jar && cp core/target/getdown-core-1.8.3-SNAPSHOT.jar ../../../j8lib/getdown-core.jar && cp core/target/getdown-core-1.8.3-SNAPSHOT.jar ../../../j11lib/getdown-core.jar
+VERSION=1.0B-JVL-1.8.3-SNAPSHOT; mvn clean package -Dgetdown.host.whitelist="jalview.org,*.jalview.org" && cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar && cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar && cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar && cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar
<groupId>com.threerings.getdown</groupId>
<artifactId>getdown</artifactId>
<packaging>pom</packaging>
- <version>1.8.3-SNAPSHOT</version>
+ <version>1.0B-JVL-1.8.3-SNAPSHOT</version>
<name>getdown</name>
<description>An application installer and updater.</description>
getdown_files_dir = getdown/files
getdown_launcher = getdown/lib/getdown-launcher.jar
getdown_launcher_new = getdown-launcher-new.jar
-getdown_core = getdown/lib/getdown-core-1.8.3-SNAPSHOT.jar
+getdown_core = getdown/lib/getdown-core.jar
getdown_launch_jvl = channel_launch.jvl
getdown_current_build_properties = build_properties
getdown_install_build_properties = build_properties.install
getdown_txt_ui.name = Jalview
getdown_txt_ui.keep_on_top = true
getdown_txt_ui.display_appbase = true
+getdown_txt_ui.display_version = true
getdown_txt_ui.background = FFFFFF
getdown_txt_ui.background_image = resources/images/jalview_logo_background_getdown-640x480.png
getdown_txt_ui.instant_background_image = resources/images/jalview_logo_background_getdown_instant-640x480.png