diff --git a/src/main/java/de/pdinklag/mcstats/Updater.java b/src/main/java/de/pdinklag/mcstats/Updater.java index a6e7ab9..3adc8d5 100644 --- a/src/main/java/de/pdinklag/mcstats/Updater.java +++ b/src/main/java/de/pdinklag/mcstats/Updater.java @@ -1,5 +1,6 @@ package de.pdinklag.mcstats; +import java.io.BufferedReader; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; @@ -17,6 +18,7 @@ import org.json.JSONArray; import org.json.JSONObject; +import de.pdinklag.mcstats.Log.Category; import de.pdinklag.mcstats.util.ClientUtils; import de.pdinklag.mcstats.util.JSONUtils; import de.pdinklag.mcstats.util.MinecraftServerUtils; @@ -42,6 +44,9 @@ public abstract class Updater { private static final String DATABASE_SUMMARY = "summary.json"; private static final String DATABASE_LEGACY_SUMMARY = "summary.json.gz"; + private static final String CLIENT_INDEX_HTML = "index.html"; + private static final String CLIENT_VERSION_PREFIX = "