Fixed update box formating
This commit is contained in:
parent
66f354a046
commit
474252a7cb
@ -128,9 +128,9 @@ public class UpdateUtils {
|
|||||||
logger.info("Found newer version: " + latestVersion);
|
logger.info("Found newer version: " + latestVersion);
|
||||||
int result = JOptionPane.showConfirmDialog(
|
int result = JOptionPane.showConfirmDialog(
|
||||||
null,
|
null,
|
||||||
"<html><font color=\"green\">New version (" + latestVersion + ") is available!</font>"
|
String.format("<html><font color=\"green\">New version (%s) is available!</font>"
|
||||||
+ "<br><br>Recent changes:" + changeList
|
+ "<br><br>Recent changes: %s"
|
||||||
+ "<br><br>Do you want to download and run the newest version?</html>",
|
+ "<br><br>Do you want to download and run the newest version?</html>", latestVersion, changeList.replaceAll("\n", "")),
|
||||||
"RipMe Updater",
|
"RipMe Updater",
|
||||||
JOptionPane.YES_NO_OPTION);
|
JOptionPane.YES_NO_OPTION);
|
||||||
if (result != JOptionPane.YES_OPTION) {
|
if (result != JOptionPane.YES_OPTION) {
|
||||||
|
Loading…
Reference in New Issue
Block a user