mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-24 12:48:55 +08:00
更新了自动检查更新提示信息
This commit is contained in:
parent
035bb28f85
commit
fd4e5d0396
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>Dominion</artifactId>
|
||||
<version>1.21.9-beta</version>
|
||||
<version>1.21.10-beta</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Dominion</name>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user