aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-09-01 09:54:22 +0200
committerGitHub <noreply@github.com>2022-09-01 09:54:22 +0200
commit2f167b1512dc0c3b80731ae412d55ee897da14fd (patch)
tree58505e1148175a651762bc8eb81680bdac736131 /launcher/FileSystem.cpp
parentba3ac85356802130842c6ad6fb0c09b6f3c672c5 (diff)
parent3f4e55be4f0ec3bae295ed53e50e493f4bc72033 (diff)
downloadPrismLauncher-2f167b1512dc0c3b80731ae412d55ee897da14fd.tar.gz
PrismLauncher-2f167b1512dc0c3b80731ae412d55ee897da14fd.tar.bz2
PrismLauncher-2f167b1512dc0c3b80731ae412d55ee897da14fd.zip
Merge pull request #1095 from flowln/ensure_file_path_in_override
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r--launcher/FileSystem.cpp1
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);