feat(instance logs): log components

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-05-17 23:45:40 +05:00
parent de60d804a1
commit 547b4c0d3a
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -893,6 +893,14 @@ QStringList MinecraftInstance::verboseDescription(AuthSessionPtr session, Minecr
QStringList out;
out << "Components:";
for (int i = 0; i < m_components->rowCount(); ++i) {
const auto& component = m_components->getComponent(i);
out << indent +
QString("%1) %2 (%3) %4").arg(QString::number(i + 1), component->getName(), component->getID(), component->getVersion());
}
out << emptyLine;
out << "Launcher: " + getLauncher();
out << "Main class: " + getMainClass() << emptyLine;