You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -468,13 +470,20 @@ public static void executeDependencyLoading() {
468
470
tasks = executeArtifactLoading(baseTasks, false);
469
471
}
470
472
if (needReboot.get()) {
471
-
valmsg = "One or more minecraft mods which have been loaded by the FP DepLoader require a game restart to fully install.";
473
+
varmsgBuilder = newStringBuilder("One or more minecraft mods which have been loaded by the FP DepLoader require a game restart to fully install.");
474
+
if (!downloadedMods.isEmpty()) {
475
+
msgBuilder.append("\nDownloaded mods:");
476
+
for (varmod : downloadedMods) {
477
+
msgBuilder.append('\n').append(mod);
478
+
}
479
+
}
480
+
valmsg = msgBuilder.toString();
472
481
if (!SystemUtils.IS_OS_MAC) {
473
482
try {
474
-
JOptionPane.showMessageDialog(null, msg + "\nThe game will exit when you close this prompt.", "Mod Dependency Download notice", JOptionPane.WARNING_MESSAGE);
483
+
JOptionPane.showMessageDialog(null, msg + "\n\nThe game will exit when you close this prompt.", "Mod Dependency Download notice", JOptionPane.WARNING_MESSAGE);
JOptionPane.showMessageDialog(null, "FP DepLoader has encountered an error while trying to download libraries.\nSee the log for more details.", "Dependency download error", JOptionPane.ERROR_MESSAGE);
850
+
} else {
851
+
varmsgBuilder = newStringBuilder("FP DepLoader has encountered an error while trying to download the following libraries:");
852
+
for (valf: downloadFailed) {
853
+
msgBuilder.append('\n').append(f);
854
+
}
855
+
msgBuilder.append("\n\nSee the log for more details.");
0 commit comments