From: David ‘Bombe’ Roden Date: Mon, 10 Nov 2008 21:24:31 +0000 (+0100) Subject: Make update URL a bit easier to update. X-Git-Tag: 0.7~17 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1745ccd7921df1769d1e7e6b71144f13c6bad3a3;p=jSite.git Make update URL a bit easier to update. --- diff --git a/src/de/todesbaum/jsite/gui/UpdateChecker.java b/src/de/todesbaum/jsite/gui/UpdateChecker.java index 8f46c15..b707f08 100644 --- a/src/de/todesbaum/jsite/gui/UpdateChecker.java +++ b/src/de/todesbaum/jsite/gui/UpdateChecker.java @@ -46,9 +46,12 @@ import de.todesbaum.util.freenet.fcp2.Connection; */ public class UpdateChecker { + /** The edition for the update check URL. */ + private static final int UPDATE_EDITION = 2; + /** The URL for update checks. */ @SuppressWarnings("unused") - private static final String UPDATE_KEY = "USK@e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE/jSite/0/currentVersion.txt"; + private static final String UPDATE_KEY = "USK@e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE/jSite/" + UPDATE_EDITION + "/jSite.properties"; /** Object used for synchronization. */ private final Object syncObject = new Object();