diff options
author | Irgendwer01 <67506320+Irgendwer01@users.noreply.github.com> | 2022-04-15 01:40:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 01:40:25 +0200 |
commit | abb20c65e33a756288c14f746cbd6cc12b1f14d1 (patch) | |
tree | 2d1ae7664ba733391ad494072fe53192bf5a734d | |
parent | 620555d2103dbfaa51e621b35290392899713a40 (diff) | |
download | PrismLauncher-abb20c65e33a756288c14f746cbd6cc12b1f14d1.tar.gz PrismLauncher-abb20c65e33a756288c14f746cbd6cc12b1f14d1.tar.bz2 PrismLauncher-abb20c65e33a756288c14f746cbd6cc12b1f14d1.zip |
better FreeBSD support
-rw-r--r-- | launcher/minecraft/MinecraftInstance.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/minecraft/MinecraftInstance.cpp b/launcher/minecraft/MinecraftInstance.cpp index 3ba79178..e40d2534 100644 --- a/launcher/minecraft/MinecraftInstance.cpp +++ b/launcher/minecraft/MinecraftInstance.cpp @@ -213,8 +213,12 @@ QString MinecraftInstance::binRoot() 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/")); return natives_dir.absolutePath(); +#endif } QString MinecraftInstance::getLocalLibraryPath() const |