diff options
author | flow <flowlnlnln@gmail.com> | 2022-08-28 15:36:01 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-08-28 16:28:23 -0300 |
commit | 3f4e55be4f0ec3bae295ed53e50e493f4bc72033 (patch) | |
tree | 7530a592d420d483783aca26cc17b4adb5a7d259 /launcher/FileSystem.cpp | |
parent | 9171f471abc4d61079a9fe2bda10801bded100e9 (diff) | |
download | PrismLauncher-3f4e55be4f0ec3bae295ed53e50e493f4bc72033.tar.gz PrismLauncher-3f4e55be4f0ec3bae295ed53e50e493f4bc72033.tar.bz2 PrismLauncher-3f4e55be4f0ec3bae295ed53e50e493f4bc72033.zip |
fix: ensure destination file paths exist when overriding folders
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r-- | launcher/FileSystem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |