Extract addons zip file recursively (for canyon42 in the future)
This commit is contained in:
@@ -492,7 +492,7 @@ bool AddonsManager::install(const Addon &addon)
|
||||
std::string from = file_manager->getAddonsFile("tmp/"+base_name);
|
||||
std::string to = addon.getDataDir();
|
||||
|
||||
bool success = extract_zip(from, to);
|
||||
bool success = extract_zip(from, to, true/*recursive*/);
|
||||
if (!success)
|
||||
{
|
||||
// TODO: show a message in the interface
|
||||
|
||||
Reference in New Issue
Block a user