mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
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
|
||||
- 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:
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user