mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
Fix non-Windows naming derp
This commit is contained in:
parent
17c98655f8
commit
8450807c06
@ -133,25 +133,25 @@ std::vector<java_install> JavaUtils::FindJavaPaths()
|
|||||||
return javas;
|
return javas;
|
||||||
}
|
}
|
||||||
#elif OSX
|
#elif OSX
|
||||||
std::vector<java_install> JavaUtils::FindJavaPath()
|
std::vector<java_install> JavaUtils::FindJavaPaths()
|
||||||
{
|
{
|
||||||
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
return this->GetDefaultPath();
|
return this->GetDefaultJava();
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif LINUX
|
#elif LINUX
|
||||||
std::vector<java_install> JavaUtils::FindJavaPath()
|
std::vector<java_install> JavaUtils::FindJavaPaths()
|
||||||
{
|
{
|
||||||
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
|
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
return this->GetDefaultPath();
|
return this->GetDefaultJava();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
std::vector<java_install> JavaUtils::FindJavaPath()
|
std::vector<java_install> JavaUtils::FindJavaPaths()
|
||||||
{
|
{
|
||||||
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
|
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
|
||||||
|
|
||||||
return this->GetDefaultPath();
|
return this->GetDefaultJava();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user