Merge pull request #467 from PolyMC/revert-429-develop

Revert "better FreeBSD support"
This commit is contained in:
dada513 2022-04-20 08:17:19 +02:00 committed by GitHub
commit 3c3ce71214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,12 +213,8 @@ QString MinecraftInstance::binRoot() const
QString MinecraftInstance::getNativePath() const QString MinecraftInstance::getNativePath() const
{ {
#ifdef 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