NOISSUE remove nonsensical logic related to 'MultiMC.app/' prefixes in update manifests

This commit is contained in:
Petr Mrázek
2019-09-19 01:13:02 +02:00
parent 4e93c4d012
commit a35a2e877e
3 changed files with 1 additions and 50 deletions

View File

@ -123,14 +123,5 @@ bool MULTIMC_LOGIC_EXPORT processFileLists
OperationList &ops
);
/*!
* This fixes destination paths for OSX - removes 'MultiMC.app' prefix
* The updater runs in MultiMC.app/Contents/MacOs by default
* The destination paths are such as this: MultiMC.app/blah/blah
*
* @return false if the path couldn't be fixed (is invalid)
*/
bool MULTIMC_LOGIC_EXPORT fixPathForOSX(QString &path);
}
Q_DECLARE_METATYPE(GoUpdate::Status)