diff options
author | flow <flowlnlnln@gmail.com> | 2022-06-19 22:03:02 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-06-19 22:03:02 -0300 |
commit | 7f62de3854e7e1ed7a4609def3efa300986322ff (patch) | |
tree | 6f4749f89d68e56d518247a88bf1627a578119de | |
parent | 03e454b71d83aebbb534c5734ccd9093842da28c (diff) | |
download | PrismLauncher-7f62de3854e7e1ed7a4609def3efa300986322ff.tar.gz PrismLauncher-7f62de3854e7e1ed7a4609def3efa300986322ff.tar.bz2 PrismLauncher-7f62de3854e7e1ed7a4609def3efa300986322ff.zip |
fix: don't create unnecessary folders when extracting ZIPs
-rw-r--r-- | launcher/MMCZip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/MMCZip.cpp b/launcher/MMCZip.cpp index 627ceaf1..d7ad4428 100644 --- a/launcher/MMCZip.cpp +++ b/launcher/MMCZip.cpp @@ -305,7 +305,7 @@ nonstd::optional<QStringList> MMCZip::extractSubDir(QuaZip *zip, const QString & QString path; if(name.contains('/') && !name.endsWith('/')){ path = name.section('/', 0, -2) + "/"; - FS::ensureFolderPathExists(path); + FS::ensureFolderPathExists(FS::PathCombine(target, path)); name = name.split('/').last(); } |