mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-17 06:47:14 +02:00
Merge pull request #1095 from flowln/ensure_file_path_in_override
This commit is contained in:
parent
5e767a91d9
commit
94d95d45d4
@ -516,6 +516,7 @@ bool overrideFolder(QString overwritten_path, QString override_path)
|
|||||||
for (auto file : listFolderPaths(root_override)) {
|
for (auto file : listFolderPaths(root_override)) {
|
||||||
QString destination = file;
|
QString destination = file;
|
||||||
destination.replace(override_path, overwritten_path);
|
destination.replace(override_path, overwritten_path);
|
||||||
|
ensureFilePathExists(destination);
|
||||||
|
|
||||||
qDebug() << QString("Applying override %1 in %2").arg(file, destination);
|
qDebug() << QString("Applying override %1 in %2").arg(file, destination);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user