v3.1.0: fixed changelog error & unintended debug code in github updates

This commit is contained in:
Evan Debenham
2025-05-16 18:19:33 -04:00
parent 9b947afad1
commit fceee5726d
2 changed files with 5 additions and 1 deletions

View File

@@ -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);

View File

@@ -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"));