change: reshuffle launch log

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-03-15 02:03:49 +05:00
parent 14da23b06f
commit 76bbd0f9ca
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
6 changed files with 54 additions and 58 deletions

View file

@ -67,7 +67,7 @@ void CheckJava::executeTask()
emitFailed(QString("Java path is not valid."));
return;
} else {
emit logLine("Java path is:\n" + m_javaPath + "\n\n", MessageLevel::Launcher);
emit logLine("Java path is:\n " + m_javaPath, MessageLevel::Launcher);
}
if (JavaUtils::getJavaCheckPath().isEmpty()) {
@ -146,6 +146,6 @@ void CheckJava::checkJavaFinished(const JavaChecker::Result& result)
void CheckJava::printJavaInfo(const QString& version, const QString& architecture, const QString& realArchitecture, const QString& vendor)
{
emit logLine(
QString("Java is version %1, using %2 (%3) architecture, from %4.\n\n").arg(version, architecture, realArchitecture, vendor),
QString("Java is version %1, using %2 (%3) architecture, from %4").arg(version, architecture, realArchitecture, vendor),
MessageLevel::Launcher);
}