Merge pull request #429 from Irgendwer01/develop

better FreeBSD support
This commit is contained in:
Sefa Eyeoglu 2022-04-16 18:21:54 +02:00 committed by GitHub
commit e11d1b5202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,8 +213,12 @@ QString MinecraftInstance::binRoot() const
QString MinecraftInstance::getNativePath() const
{
#ifdef Q_OS_FREEBSD
QDir natives_dir("/usr/local/lib/lwjgl/");
#else
QDir natives_dir(FS::PathCombine(instanceRoot(), "natives/"));
return natives_dir.absolutePath();
#endif
}
QString MinecraftInstance::getLocalLibraryPath() const