From e0fff6b634346ca2d0256d95eacc1b0aae7d3387 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Mon, 14 Sep 2020 23:23:11 +0100 Subject: [PATCH] JAL-3718 force re-initialise of getdown.txt file when new getdown.txt downloaded from appbase. getdown src files --- getdown/src/getdown/ant/pom.xml | 2 +- getdown/src/getdown/core/pom.xml | 2 +- .../core/src/main/java/com/threerings/getdown/data/Application.java | 2 ++ getdown/src/getdown/launcher/pom.xml | 2 +- getdown/src/getdown/mvn_cmd | 2 +- getdown/src/getdown/pom.xml | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/getdown/src/getdown/ant/pom.xml b/getdown/src/getdown/ant/pom.xml index cb427ba..c180d5f 100644 --- a/getdown/src/getdown/ant/pom.xml +++ b/getdown/src/getdown/ant/pom.xml @@ -4,7 +4,7 @@ com.threerings.getdown getdown - 1.8.3-1.2.7_FJVL + 1.8.3-1.2.9_FJVL getdown-ant diff --git a/getdown/src/getdown/core/pom.xml b/getdown/src/getdown/core/pom.xml index 1f4b310..dd387b1 100644 --- a/getdown/src/getdown/core/pom.xml +++ b/getdown/src/getdown/core/pom.xml @@ -4,7 +4,7 @@ com.threerings.getdown getdown - 1.8.3-1.2.7_FJVL + 1.8.3-1.2.9_FJVL getdown-core diff --git a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java index cffe7c1..313a690 100644 --- a/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java +++ b/getdown/src/getdown/core/src/main/java/com/threerings/getdown/data/Application.java @@ -1427,6 +1427,8 @@ public class Application clearValidationMarkers(); // if the new copy validates, reinitialize ourselves; otherwise report baffling hoseage if (_digest.validateResource(crsrc, null)) { + // unset _initialisedConfig so new file is initialised + _initialisedConfig = null; init(true); } else { log.warning(CONFIG_FILE + " failed to validate even after redownloading. " + diff --git a/getdown/src/getdown/launcher/pom.xml b/getdown/src/getdown/launcher/pom.xml index dac34c0..e7dbeb1 100644 --- a/getdown/src/getdown/launcher/pom.xml +++ b/getdown/src/getdown/launcher/pom.xml @@ -4,7 +4,7 @@ com.threerings.getdown getdown - 1.8.3-1.2.7_FJVL + 1.8.3-1.2.9_FJVL getdown-launcher diff --git a/getdown/src/getdown/mvn_cmd b/getdown/src/getdown/mvn_cmd index ff85c2d..e0d7cf1 100755 --- a/getdown/src/getdown/mvn_cmd +++ b/getdown/src/getdown/mvn_cmd @@ -3,7 +3,7 @@ if [ x$JVLVERSION != x ]; then export VERSION=$JVLVERSION else - export VERSION=1.8.3-1.2.7_JVL + export VERSION=1.8.3-1.2.9_JVL fi if [ x${VERSION%_JVL} = x$VERSION ]; then diff --git a/getdown/src/getdown/pom.xml b/getdown/src/getdown/pom.xml index c3f51d2..8c7c521 100644 --- a/getdown/src/getdown/pom.xml +++ b/getdown/src/getdown/pom.xml @@ -10,7 +10,7 @@ com.threerings.getdown getdown pom - 1.8.3-1.2.7_FJVL + 1.8.3-1.2.9_FJVL getdown An application installer and updater. -- 1.7.10.2