fix: ensure destination file paths exist when overriding folders

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-08-28 15:36:01 -03:00
parent 9171f471ab
commit 3f4e55be4f
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -467,6 +467,7 @@ bool overrideFolder(QString overwritten_path, QString override_path)
for (auto file : listFolderPaths(root_override)) {
QString destination = file;
destination.replace(override_path, overwritten_path);
ensureFilePathExists(destination);
qDebug() << QString("Applying override %1 in %2").arg(file, destination);