Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rememberber committed Jul 31, 2023
1 parent 2a69570 commit 52a32f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static void smoothUpgrade() {
}

// 然后取两个版本对应的索引
String versionSummaryJsonContent = FileUtil.readString(UiConsts.class.getResource("/assets/files/version_summary.json"), CharsetUtil.UTF_8);
String versionSummaryJsonContent = HttpUtil.get(UiConsts.CHECK_VERSION_URL);
versionSummaryJsonContent = versionSummaryJsonContent.replace("\n", "");
VersionSummary versionSummary = JSON.parseObject(versionSummaryJsonContent, VersionSummary.class);
String versionIndex = versionSummary.getVersionIndex();
Expand Down

0 comments on commit 52a32f4

Please sign in to comment.