mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
feat(instance logs): log components
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
de60d804a1
commit
547b4c0d3a
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue