better FreeBSD support
This commit is contained in:
parent
620555d210
commit
abb20c65e3
@ -213,8 +213,12 @@ QString MinecraftInstance::binRoot() const
|
|||||||
|
|
||||||
QString MinecraftInstance::getNativePath() const
|
QString MinecraftInstance::getNativePath() const
|
||||||
{
|
{
|
||||||
|
#if defined(Q_OS_FREEBSD)
|
||||||
|
QDir natives_dir("/usr/local/lib/lwjgl/");
|
||||||
|
#else
|
||||||
QDir natives_dir(FS::PathCombine(instanceRoot(), "natives/"));
|
QDir natives_dir(FS::PathCombine(instanceRoot(), "natives/"));
|
||||||
return natives_dir.absolutePath();
|
return natives_dir.absolutePath();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
QString MinecraftInstance::getLocalLibraryPath() const
|
QString MinecraftInstance::getLocalLibraryPath() const
|
||||||
|
Loading…
Reference in New Issue
Block a user