diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-16 18:38:53 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-16 18:42:17 +0200 |
commit | a39fb1ef173ee38acb96a64e58b4fd347713c333 (patch) | |
tree | ee34d0335fa315ef469c38bbddd4a831384728dd | |
parent | c75cac684e39b9d702478f7c92fb004a02c95981 (diff) | |
download | MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar.gz MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar.lz MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.tar.xz MultiMC-a39fb1ef173ee38acb96a64e58b4fd347713c333.zip |
GH-958 print PID when starting Minecraft
-rw-r--r-- | changelog.md | 1 | ||||
-rw-r--r-- | logic/minecraft/MinecraftProcess.cpp | 3 |
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()); |