Change log is now displayed when updating from command line

This commit is contained in:
cyian-1756 2018-06-02 15:32:21 -04:00
parent 371ce56952
commit 5cbc152e1c

View File

@ -68,8 +68,9 @@ public class UpdateUtils {
if (change.startsWith(UpdateUtils.getThisJarVersion() + ":")) { if (change.startsWith(UpdateUtils.getThisJarVersion() + ":")) {
break; break;
} }
changeList.append("<br> + ").append(change); changeList.append("\n").append(change);
} }
logger.info("Change log: \n" + changeList.toString());
String latestVersion = ripmeJson.getString("latestVersion"); String latestVersion = ripmeJson.getString("latestVersion");
if (UpdateUtils.isNewerVersion(latestVersion)) { if (UpdateUtils.isNewerVersion(latestVersion)) {