From 9e1dec4bfb06d95550aed32b8afde42434a10788 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 9af441d..756bb16 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.5_FJVL + 1.8.3-1.2.8_FJVL getdown-ant diff --git a/getdown/src/getdown/core/pom.xml b/getdown/src/getdown/core/pom.xml index 1563c23..7c4d779 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.5_FJVL + 1.8.3-1.2.8_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 b11a380..b301a0f 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 @@ -1419,6 +1419,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 e8eb824..6af81a9 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.5_FJVL + 1.8.3-1.2.8_FJVL getdown-launcher diff --git a/getdown/src/getdown/mvn_cmd b/getdown/src/getdown/mvn_cmd index d10f7a8..6558cb9 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.5_JVL + export VERSION=1.8.3-1.2.8_JVL fi if [ x${VERSION%_JVL} = x$VERSION ]; then diff --git a/getdown/src/getdown/pom.xml b/getdown/src/getdown/pom.xml index 1109505..4585d06 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.5_FJVL + 1.8.3-1.2.8_FJVL getdown An application installer and updater. -- 1.7.10.2