make it to check version at the unofficial repository

This commit is contained in:
xsun2001 2017-12-02 22:37:48 +08:00
parent 85de4c5889
commit 118d49c653
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ public final class VersionChecker implements Runnable
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() )

View File

@ -39,7 +39,7 @@ import java.util.List;
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