NOISSUE do not fail when updates don't have MultiMC.app prefix on OSX

This commit is contained in:
Petr Mrázek 2015-03-21 18:35:42 +01:00
parent c7398dfdc5
commit fe540e5dda

View File

@ -36,8 +36,7 @@ bool parseVersionInfo(const QByteArray &data, VersionFileList &list, QString &er
// basically, anything that isn't in the .app folder is ignored. // basically, anything that isn't in the .app folder is ignored.
// everything else is changed so the code that processes the files actually finds // everything else is changed so the code that processes the files actually finds
// them and puts the replacements in the right spots. // them and puts the replacements in the right spots.
if (!fixPathForOSX(file_path)) fixPathForOSX(file_path);
continue;
#endif #endif
VersionFileEntry file{file_path, fileObj.value("Perms").toVariant().toInt(), VersionFileEntry file{file_path, fileObj.value("Perms").toVariant().toInt(),
FileSourceList(), fileObj.value("MD5").toString(), }; FileSourceList(), fileObj.value("MD5").toString(), };