diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-02 01:16:41 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-02 01:16:41 +0100 |
commit | a9c0d812a67c7d044a1148523198cc37ad24db8c (patch) | |
tree | a8ba56bc2a24a06bbcd8337f8da69c3fa7c196b4 /api/logic/tools | |
parent | b6b2350e027d127049c61d8e01dc5416ac5c037b (diff) | |
download | MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar.gz MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar.lz MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar.xz MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.zip |
NOISSUE prefer shell script for running MCEdit on linux
Diffstat (limited to 'api/logic/tools')
-rw-r--r-- | api/logic/tools/MCEditTool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api/logic/tools/MCEditTool.cpp b/api/logic/tools/MCEditTool.cpp index f3d550d0..8e0d7ae2 100644 --- a/api/logic/tools/MCEditTool.cpp +++ b/api/logic/tools/MCEditTool.cpp @@ -62,13 +62,13 @@ void MCEditTool::runImpl() QDir mceditDir(mceditPath); QString program; #ifdef Q_OS_LINUX - if (mceditDir.exists("mcedit.py")) + if (mceditDir.exists("mcedit.sh")) { - program = mceditDir.absoluteFilePath("mcedit.py"); + program = mceditDir.absoluteFilePath("mcedit.sh"); } - else if (mceditDir.exists("mcedit.sh")) + else if (mceditDir.exists("mcedit.py")) { - program = mceditDir.absoluteFilePath("mcedit.sh"); + program = mceditDir.absoluteFilePath("mcedit.py"); } #elif defined(Q_OS_WIN32) if (mceditDir.exists("mcedit.exe")) |