Skip to content

Commit

Permalink
🔧 修复更新版本重载按钮不存在的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
adlered committed Jan 22, 2021
1 parent 1add847 commit f87b73a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
27 changes: 12 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ private String checkVersion() {
} else {
return "<div class='alert alert-danger' style='text-shadow: none; margin: 0px 0px 0px'>请注意! 您的Picuang配置文件来自旧版 (" + realVersion + ")<br>" +
"请将旧配置文件<br>" + ToolBox.getINIDir() + "<br>备份并删除, 重启Picuang服务端或点击\"生成新配置文件\"按钮使Picuang重新生成一个新版的配置文件; <br>" +
"再对照自动生成的新版本 (" + neededVersion + ") 配置文件, 将您备份的旧版配置文件中的数据替换 (除了version以外), 然后点击下方\"重载\"按钮. <br>" +
"如果您不想更新配置文件, 但想去除本通知, 请将 config.ini 中的 version 值修改为: \"" + neededVersion + "\" , 然后点击下方\"重载\"按钮. </div>" +
"再对照自动生成的新版本 (" + neededVersion + ") 配置文件, 将您备份的旧版配置文件中的数据替换 (除了version以外), 然后点击下方\"重载\"按钮.</div><br>" +
"<button class=\"btn btn-success\" onclick=\"reloadServer()\" type=\"button\" style='margin-top: 16px'>重载</button>" +
"<hr color='#6f5499' size='3' style='filter: alpha(opacity=100,finishopacity=0,style=3); margin-top: 36px; margin-bottom: 36px;' width='95%'/>";
}
}
Expand Down

0 comments on commit f87b73a

Please sign in to comment.