mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +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;
|
||||
}
|
||||
#elif OSX
|
||||
std::vector<java_install> JavaUtils::FindJavaPath()
|
||||
std::vector<java_install> JavaUtils::FindJavaPaths()
|
||||
{
|
||||
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
||||
|
||||
return this->GetDefaultPath();
|
||||
return this->GetDefaultJava();
|
||||
}
|
||||
|
||||
#elif LINUX
|
||||
std::vector<java_install> JavaUtils::FindJavaPath()
|
||||
std::vector<java_install> JavaUtils::FindJavaPaths()
|
||||
{
|
||||
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
|
||||
|
||||
return this->GetDefaultPath();
|
||||
return this->GetDefaultJava();
|
||||
}
|
||||
#else
|
||||
std::vector<java_install> JavaUtils::FindJavaPath()
|
||||
std::vector<java_install> JavaUtils::FindJavaPaths()
|
||||
{
|
||||
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
|
||||
|
||||
return this->GetDefaultPath();
|
||||
return this->GetDefaultJava();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user