add: print game command for debugging
This commit is contained in:
@@ -512,6 +512,12 @@ public final class LauncherHelper {
|
|||||||
public void setProcess(ManagedProcess process) {
|
public void setProcess(ManagedProcess process) {
|
||||||
this.process = process;
|
this.process = process;
|
||||||
|
|
||||||
|
String command = new CommandBuilder().addAll(process.getCommands()).toString();
|
||||||
|
for (Map.Entry<String, String> entry : forbiddenTokens.entrySet())
|
||||||
|
command = command.replace(entry.getKey(), entry.getValue());
|
||||||
|
|
||||||
|
LOG.info("Launched process: " + command);
|
||||||
|
|
||||||
if (showLogs)
|
if (showLogs)
|
||||||
Platform.runLater(() -> {
|
Platform.runLater(() -> {
|
||||||
logWindow = new LogWindow();
|
logWindow = new LogWindow();
|
||||||
|
|||||||
Reference in New Issue
Block a user