diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2021-12-30 20:00:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 20:00:45 +0100 |
commit | 3efcccf334e28d03605dd0597f53f900105cf04b (patch) | |
tree | ecafd89c7eb90d04f428c907da86c7d6b134c166 /launcher/tools | |
parent | 5e909a4e852a5bf3ba9dec9081b4839773bfc0ce (diff) | |
parent | f42c3a953c15b01632131435e4885f9acc3b1f1a (diff) | |
download | PrismLauncher-3efcccf334e28d03605dd0597f53f900105cf04b.tar.gz PrismLauncher-3efcccf334e28d03605dd0597f53f900105cf04b.tar.bz2 PrismLauncher-3efcccf334e28d03605dd0597f53f900105cf04b.zip |
Merge pull request #4345 from graemeg/freebsd-support
Adds FreeBSD support to MultiMC
Diffstat (limited to 'launcher/tools')
-rw-r--r-- | launcher/tools/MCEditTool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/tools/MCEditTool.cpp b/launcher/tools/MCEditTool.cpp index 880327c7..21e1a3b0 100644 --- a/launcher/tools/MCEditTool.cpp +++ b/launcher/tools/MCEditTool.cpp @@ -52,7 +52,7 @@ QString MCEditTool::getProgramPath() #else const QString mceditPath = path(); QDir mceditDir(mceditPath); -#ifdef Q_OS_LINUX +#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) if (mceditDir.exists("mcedit.sh")) { return mceditDir.absoluteFilePath("mcedit.sh"); |