diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java index 106a0860d..4a598ab96 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java @@ -34,6 +34,7 @@ import javafx.scene.layout.VBox; import javafx.scene.text.Text; import javafx.scene.text.TextFlow; import javafx.stage.Stage; +import org.jackhuang.hmcl.Metadata; import org.jackhuang.hmcl.download.LibraryAnalyzer; import org.jackhuang.hmcl.game.*; import org.jackhuang.hmcl.launch.ProcessListener; @@ -281,6 +282,11 @@ public class GameCrashWindow extends Stage { infoPane.setPadding(new Insets(8)); infoPane.setAlignment(Pos.CENTER_LEFT); + TwoLineListItem launcher = new TwoLineListItem(); + launcher.getStyleClass().setAll("two-line-item-second-large"); + launcher.setTitle(i18n("launcher")); + launcher.setSubtitle(Metadata.VERSION); + TwoLineListItem version = new TwoLineListItem(); version.getStyleClass().setAll("two-line-item-second-large"); version.setTitle(i18n("archive.game_version")); @@ -306,7 +312,7 @@ public class GameCrashWindow extends Stage { arch.setTitle(i18n("system.architecture")); arch.subtitleProperty().bind(GameCrashWindow.this.arch); - infoPane.getChildren().setAll(version, memory, java, os, arch); + infoPane.getChildren().setAll(launcher, version, memory, java, os, arch); } HBox moddedPane = new HBox(8);