mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
Merge pull request #429 from Irgendwer01/develop
better FreeBSD support
This commit is contained in:
commit
e11d1b5202
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue