v3.1.0: fixed changelog error & unintended debug code in github updates
This commit is contained in:
@@ -86,6 +86,10 @@ public class v3_X_Changes {
|
|||||||
changes.hardlight(Window.TITLE_COLOR);
|
changes.hardlight(Window.TITLE_COLOR);
|
||||||
changeInfos.add(changes);
|
changeInfos.add(changes);
|
||||||
|
|
||||||
|
changes = new ChangeInfo("", false, null);
|
||||||
|
changes.hardlight(Window.TITLE_COLOR);
|
||||||
|
changeInfos.add(changes);
|
||||||
|
|
||||||
changes = new ChangeInfo("BETA-1.1", false, null);
|
changes = new ChangeInfo("BETA-1.1", false, null);
|
||||||
changes.hardlight(Window.TITLE_COLOR);
|
changes.hardlight(Window.TITLE_COLOR);
|
||||||
changeInfos.add(changes);
|
changeInfos.add(changes);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ public class GitHubUpdates extends UpdateService {
|
|||||||
public void handleHttpResponse(Net.HttpResponse httpResponse) {
|
public void handleHttpResponse(Net.HttpResponse httpResponse) {
|
||||||
try {
|
try {
|
||||||
Bundle latestRelease = null;
|
Bundle latestRelease = null;
|
||||||
int latestVersionCode = Game.versionCode-10;
|
int latestVersionCode = Game.versionCode;
|
||||||
|
|
||||||
for (Bundle b : Bundle.read( httpResponse.getResultAsStream() ).getBundleArray()){
|
for (Bundle b : Bundle.read( httpResponse.getResultAsStream() ).getBundleArray()){
|
||||||
Matcher m = versionCodePattern.matcher(b.getString("body"));
|
Matcher m = versionCodePattern.matcher(b.getString("body"));
|
||||||
|
|||||||
Reference in New Issue
Block a user