Change log is now displayed when updating from command line
This commit is contained in:
parent
371ce56952
commit
5cbc152e1c
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user