MCPcopy Create free account
hub / github.com/MultiMC/Launcher / executeTask

Method executeTask

launcher/minecraft/launch/PrintInstanceInfo.cpp:129–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127#endif
128
129void PrintInstanceInfo::executeTask()
130{
131 auto instance = m_parent->instance();
132 QStringList log;
133
134#if defined(Q_OS_LINUX)
135 ::probeProcCpuinfo(log);
136 ::runLspci(log);
137 ::runGlxinfo(log);
138#elif defined(Q_OS_FREEBSD)
139 ::runSysctlHwModel(log);
140 ::runPciconf(log);
141 ::runGlxinfo(log);
142#endif
143
144 logLines(log, MessageLevel::Launcher);
145 logLines(instance->verboseDescription(m_session, m_serverToJoin), MessageLevel::Launcher);
146 emitSucceeded();
147}

Callers

nothing calls this directly

Calls 7

probeProcCpuinfoFunction · 0.85
runLspciFunction · 0.85
runGlxinfoFunction · 0.85
runSysctlHwModelFunction · 0.85
runPciconfFunction · 0.85
instanceMethod · 0.45
verboseDescriptionMethod · 0.45

Tested by

no test coverage detected