From 5cbc152e1c04b09dc28e1f60bc617efabfc60ced Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sat, 2 Jun 2018 15:32:21 -0400 Subject: [PATCH] Change log is now displayed when updating from command line --- src/main/java/com/rarchives/ripme/ui/UpdateUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java index 95af45c6..8882c9af 100644 --- a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java +++ b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java @@ -68,8 +68,9 @@ public class UpdateUtils { if (change.startsWith(UpdateUtils.getThisJarVersion() + ":")) { break; } - changeList.append("
+ ").append(change); + changeList.append("\n").append(change); } + logger.info("Change log: \n" + changeList.toString()); String latestVersion = ripmeJson.getString("latestVersion"); if (UpdateUtils.isNewerVersion(latestVersion)) {