Restore getNativePath() to its original form.

This commit is contained in:
Graeme Geldenhuys 2021-12-28 21:59:24 +00:00
parent 3bc450a6d7
commit f42c3a953c

View File

@ -186,11 +186,7 @@ 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/"));
#endif
return natives_dir.absolutePath(); return natives_dir.absolutePath();
} }