From 1a88653e61a98a52a5d88bd3ab67a632d9c87e56 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Sun, 28 Apr 2024 17:48:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A3=80=E6=9F=A5=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../cn/lunadeer/colorfulmap/utils/GiteaReleaseCheck.java | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 90c8610..8d02a48 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.lunadeer ColorfulMap - 1.3 + 1.4 jar ColorfulMap diff --git a/src/main/java/cn/lunadeer/colorfulmap/utils/GiteaReleaseCheck.java b/src/main/java/cn/lunadeer/colorfulmap/utils/GiteaReleaseCheck.java index 33d7fb6..626224b 100644 --- a/src/main/java/cn/lunadeer/colorfulmap/utils/GiteaReleaseCheck.java +++ b/src/main/java/cn/lunadeer/colorfulmap/utils/GiteaReleaseCheck.java @@ -87,7 +87,11 @@ public class GiteaReleaseCheck { XLogger.debug("HTML URL: " + latest_release.html_url); if (isNewVersion(current_version, latest_release.tag_name)) { XLogger.info("发现新版本:" + latest_release.tag_name); - XLogger.info("版本信息:" + latest_release.message); + XLogger.info("版本信息:"); + String[] message = latest_release.message.split("\n"); + for (String line : message) { + XLogger.info("\t" + line); + } XLogger.info("下载页面:" + latest_release.html_url); } else { XLogger.info("当前已是最新版本:" + current_version);