mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
Deduplicate fix
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
5f37e339fb
commit
ce6a36c8b5
1 changed files with 0 additions and 5 deletions
|
|
@ -315,11 +315,6 @@ std::optional<QStringList> MMCZip::extractSubDir(QuaZip *zip, const QString & su
|
|||
if (relative_file_name.startsWith('/'))
|
||||
relative_file_name = relative_file_name.mid(1);
|
||||
|
||||
// Fix subdirs/files ending with a / getting transformed into absolute paths
|
||||
if(name.startsWith('/')){
|
||||
name = name.mid(1);
|
||||
}
|
||||
|
||||
// Fix weird "folders with a single file get squashed" thing
|
||||
QString sub_path;
|
||||
if (relative_file_name.contains('/') && !relative_file_name.endsWith('/')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue