From 3f4e55be4f0ec3bae295ed53e50e493f4bc72033 Mon Sep 17 00:00:00 2001 From: flow Date: Sun, 28 Aug 2022 15:36:01 -0300 Subject: [PATCH] fix: ensure destination file paths exist when overriding folders Signed-off-by: flow --- launcher/FileSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp index 21edbb48..8eeb2885 100644 --- a/launcher/FileSystem.cpp +++ b/launcher/FileSystem.cpp @@ -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);