Make update URL a bit easier to update.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Mon, 10 Nov 2008 21:24:31 +0000 (22:24 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 24 Dec 2008 00:53:29 +0000 (01:53 +0100)
src/de/todesbaum/jsite/gui/UpdateChecker.java

index 8f46c15..b707f08 100644 (file)
@@ -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();