From 118d49c65397e06055c0c1d22dd1d9422e2f3e4d Mon Sep 17 00:00:00 2001 From: xsun2001 <1563770452@qq.com> Date: Sat, 2 Dec 2017 22:37:48 +0800 Subject: [PATCH] make it to check version at the unofficial repository --- src/main/java/appeng/services/VersionChecker.java | 2 +- .../java/appeng/services/version/github/ReleaseFetcher.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/appeng/services/VersionChecker.java b/src/main/java/appeng/services/VersionChecker.java index 7e0e944c562..a6703e2d554 100644 --- a/src/main/java/appeng/services/VersionChecker.java +++ b/src/main/java/appeng/services/VersionChecker.java @@ -176,7 +176,7 @@ private void interactWithVersionCheckerMod( @Nonnull final String modFormatted, versionInf.setString( "modDisplayName", AppEng.MOD_NAME ); versionInf.setString( "oldVersion", modFormatted ); versionInf.setString( "newVersion", ghFormatted ); - versionInf.setString( "updateUrl", "http://ae-mod.info/builds/appliedenergistics2-" + ghFormatted + ".jar" ); + versionInf.setString( "updateUrl", "https://github.com/xsun2001/Applied-Energistics-2-Unofficial/releases/download/rv3.beta.13/appliedenergistics2" + ghFormatted + ".jar" ); versionInf.setBoolean( "isDirectLink", true ); if( !changelog.isEmpty() ) diff --git a/src/main/java/appeng/services/version/github/ReleaseFetcher.java b/src/main/java/appeng/services/version/github/ReleaseFetcher.java index 19260722677..a072cc4e03d 100644 --- a/src/main/java/appeng/services/version/github/ReleaseFetcher.java +++ b/src/main/java/appeng/services/version/github/ReleaseFetcher.java @@ -39,7 +39,7 @@ public final class ReleaseFetcher { - private static final String GITHUB_RELEASES_URL = "https://api.github.com/repos/AppliedEnergistics/Applied-Energistics-2/releases"; + private static final String GITHUB_RELEASES_URL = "https://api.github.com/repos/xsun2001/Applied-Energistics-2-Unofficial/releases"; private static final FormattedRelease EXCEPTIONAL_RELEASE = new MissingFormattedRelease(); @Nonnull