1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-19 00:17:56 +02:00

Fix installation of multiple mods at once

This commit is contained in:
Ivan Savenko
2024-11-19 22:15:05 +00:00
parent 00f97fb8cd
commit fef19f4846
7 changed files with 52 additions and 38 deletions

View File

@ -117,6 +117,8 @@ class DLL_LINKAGE ModManager : boost::noncopyable
TModList collectDependenciesRecursive(const TModID & modID) const;
void tryEnableMod(const TModID & modList);
public:
ModManager(const JsonNode & repositoryList);
ModManager();
@ -133,7 +135,7 @@ public:
void saveConfigurationState() const;
double getInstalledModSizeMegabytes(const TModID & modName) const;
void tryEnableMod(const TModID & modName);
void tryEnableMods(const TModList & modList);
void tryDisableMod(const TModID & modName);
};