mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-26 05:30:19 +00:00
Useless but I did miss it
This commit is contained in:
parent
ce9d3acf00
commit
51a35b43af
1 changed files with 11 additions and 2 deletions
|
@ -106,9 +106,18 @@ namespace tin::util
|
|||
FsDirectoryEntry dirEntry = dirEntries[i];
|
||||
std::string dirEntryName(dirEntry.name);
|
||||
std::string nspExt = ".nsp";
|
||||
std::string nszExt = ".nsz";
|
||||
std::string nszExt = ".nsz";
|
||||
std::string xciExt = ".xci";
|
||||
std::string xczExt = ".xcz";
|
||||
|
||||
if (dirEntry.type != FsDirEntryType_File || (dirEntryName.compare(dirEntryName.size() - nspExt.size(), nspExt.size(), nspExt) != 0 && dirEntryName.compare(dirEntryName.size() - nszExt.size(), nszExt.size(), nszExt) != 0))
|
||||
if (dirEntry.type != FsDirEntryType_File ||
|
||||
(
|
||||
dirEntryName.compare(dirEntryName.size() - nspExt.size(), nspExt.size(), nspExt) != 0 &&
|
||||
dirEntryName.compare(dirEntryName.size() - nszExt.size(), nszExt.size(), nszExt) != 0 &&
|
||||
dirEntryName.compare(dirEntryName.size() - xciExt.size(), xciExt.size(), xciExt) != 0 &&
|
||||
dirEntryName.compare(dirEntryName.size() - xczExt.size(), xczExt.size(), xczExt) != 0
|
||||
)
|
||||
)
|
||||
continue;
|
||||
|
||||
nspList.push_back(dirEntry.name);
|
||||
|
|
Loading…
Reference in a new issue