fix: ensure destination file paths exist when overriding folders
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
9171f471ab
commit
3f4e55be4f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue