Exemplo n.º 1
0
 /**
  * Load the configuration.
  *
  * @throws Exception any error.
  */
 public static void load() throws Exception {
   version = FullVersion.parse(get("version", version.toString()));
   updateXML = get("update", updateXML);
   managerId = get("id", managerId);
   minecraftFolder = get("minecraft", findMinecraftFolder().getAbsolutePath());
   modsFolder = new File(minecraftFolder, get("mods", "mods")).getAbsolutePath();
   configFolder = new File(minecraftFolder, get("config", "config")).getAbsolutePath();
   markdownCSS =
       new File(get("markdown.css", "NaujaModManager_lib/markdown.css")).getAbsolutePath();
 }