diff options
author | Ezekiel Smith <ezekielsmith@protonmail.com> | 2022-06-22 01:13:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 01:13:23 +1000 |
commit | 964151d9c7291e8be20e88d3a9c78c5ac2f812df (patch) | |
tree | abb8f710ddafe95a0e323a951cab977662f00c5e /launcher | |
parent | 409c9bf9d2a483ed1f3518043671f4bb6b75b298 (diff) | |
parent | 7f62de3854e7e1ed7a4609def3efa300986322ff (diff) | |
download | PrismLauncher-964151d9c7291e8be20e88d3a9c78c5ac2f812df.tar.gz PrismLauncher-964151d9c7291e8be20e88d3a9c78c5ac2f812df.tar.bz2 PrismLauncher-964151d9c7291e8be20e88d3a9c78c5ac2f812df.zip |
Merge pull request #817 from flowln/zip_ensure_path
Don't create unnecessary folders when extracting ZIPs
Diffstat (limited to 'launcher')
-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(); } |