GH-958 print PID when starting Minecraft
This commit is contained in:
parent
c75cac684e
commit
a39fb1ef17
@ -32,6 +32,7 @@
|
|||||||
- MultiMC now doesn't use a proxy by default
|
- MultiMC now doesn't use a proxy by default
|
||||||
- Running profilers now works on Windows
|
- Running profilers now works on Windows
|
||||||
- MultiMC will warn you if you run it from WinRAR or temporary folders
|
- 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
|
##UI changes
|
||||||
- Version lists:
|
- Version lists:
|
||||||
|
@ -250,6 +250,9 @@ void MinecraftProcess::arm()
|
|||||||
m_instance->setRunning(false);
|
m_instance->setRunning(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
emit log(tr("Minecraft process ID: %1\n\n").arg(processId()), MessageLevel::MultiMC);
|
||||||
|
|
||||||
// send the launch script to the launcher part
|
// send the launch script to the launcher part
|
||||||
QByteArray bytes = launchScript.toUtf8();
|
QByteArray bytes = launchScript.toUtf8();
|
||||||
writeData(bytes.constData(), bytes.length());
|
writeData(bytes.constData(), bytes.length());
|
||||||
|
Loading…
Reference in New Issue
Block a user