Package net.feed_the_beast.launcher.json.launcher

Examples of net.feed_the_beast.launcher.json.launcher.Update


    }

    private void loadInfo () {
        try {
            Document doc = AppUtils.downloadXML(new URL(DownloadUtils.getStaticCreeperhostLink("newversion.xml")));
            Update upd = JsonFactory.getUpdate("net.ftb:launcher:beta@json", Locations.FTBMAVENFULL);
            if (upd.getPrimary().equals("beta")) {
                Channel beta = upd.getBeta();
                this.betaJenk = beta.getJenkins();
                int beta_ = this.beta = beta.getVersion();
                betaStr += beta_ / (100 * 100) + ".";
                beta_ = beta_ % (100 * 100);
                betaStr += beta_ / (100) + ".";
                beta_ = beta_ % 100;
                betaStr += beta_;
                betaAddress = beta.getFile().getUrl() + beta.getFile().getPath();
                if (beta.getFile().checksums != null) {
                    betaHash = beta.getFile().checksums;
                }
                if (upd.getRelease() != null) {
                    //TODO add code here to handle if the releases are in maven!!
                }
            }

            if (doc == null) {
View Full Code Here

TOP

Related Classes of net.feed_the_beast.launcher.json.launcher.Update

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.