mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-20 00:18:52 +08:00
更新了自动检查更新提示信息
This commit is contained in:
parent
2c344c895c
commit
3c38d4eb94
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>Dominion</artifactId>
|
||||
<version>1.21.8-beta</version>
|
||||
<version>1.21.9-beta</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Dominion</name>
|
||||
|
@ -73,7 +73,7 @@ public class GiteaReleaseCheck {
|
||||
JSONObject latestRelease = (JSONObject) releaseList.get(0);
|
||||
GiteaRelease release = new GiteaRelease();
|
||||
release.tag_name = (String) latestRelease.get("tag_name");
|
||||
release.message = getTagMessage(release.tag_name);
|
||||
release.message = (String) latestRelease.get("body");
|
||||
release.html_url = (String) latestRelease.get("html_url");
|
||||
JSONArray assets = (JSONArray) latestRelease.get("assets");
|
||||
if (assets.size() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user