summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-03-21 18:35:42 +0100
committerPetr Mrázek <peterix@gmail.com>2015-04-13 00:11:59 +0200
commitfe540e5dda903156b1037559752fc5332375f465 (patch)
tree7906e4f744a00549923d7161b1e1b3f64a18e9d6
parentc7398dfdc581fbf36205fa826ad2aeadcd9b0122 (diff)
downloadMultiMC-fe540e5dda903156b1037559752fc5332375f465.tar
MultiMC-fe540e5dda903156b1037559752fc5332375f465.tar.gz
MultiMC-fe540e5dda903156b1037559752fc5332375f465.tar.lz
MultiMC-fe540e5dda903156b1037559752fc5332375f465.tar.xz
MultiMC-fe540e5dda903156b1037559752fc5332375f465.zip
NOISSUE do not fail when updates don't have MultiMC.app prefix on OSX
-rw-r--r--logic/updater/GoUpdate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/logic/updater/GoUpdate.cpp b/logic/updater/GoUpdate.cpp
index 21bef2c0..974f5e2b 100644
--- a/logic/updater/GoUpdate.cpp
+++ b/logic/updater/GoUpdate.cpp
@@ -36,8 +36,7 @@ bool parseVersionInfo(const QByteArray &data, VersionFileList &list, QString &er
// basically, anything that isn't in the .app folder is ignored.
// everything else is changed so the code that processes the files actually finds
// them and puts the replacements in the right spots.
- if (!fixPathForOSX(file_path))
- continue;
+ fixPathForOSX(file_path);
#endif
VersionFileEntry file{file_path, fileObj.value("Perms").toVariant().toInt(),
FileSourceList(), fileObj.value("MD5").toString(), };