summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--changelog.md1
-rw-r--r--logic/minecraft/MinecraftProcess.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 7ac2df7e..8eba1eb0 100644
--- a/changelog.md
+++ b/changelog.md
@@ -32,6 +32,7 @@
- MultiMC now doesn't use a proxy by default
- Running profilers now works on Windows
- MultiMC will warn you if you run it from WinRAR or temporary folders
+- Minecraft process ID is printed in the log on start
##UI changes
- Version lists:
diff --git a/logic/minecraft/MinecraftProcess.cpp b/logic/minecraft/MinecraftProcess.cpp
index 1c9f614e..fc2c8a39 100644
--- a/logic/minecraft/MinecraftProcess.cpp
+++ b/logic/minecraft/MinecraftProcess.cpp
@@ -250,6 +250,9 @@ void MinecraftProcess::arm()
m_instance->setRunning(false);
return;
}
+
+ emit log(tr("Minecraft process ID: %1\n\n").arg(processId()), MessageLevel::MultiMC);
+
// send the launch script to the launcher part
QByteArray bytes = launchScript.toUtf8();
writeData(bytes.constData(), bytes.length());