mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-28 20:32:06 +00:00
remove redundant directory creating during extraction
This commit is contained in:
parent
81913f6bbd
commit
66a24674b2
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
@ -265,7 +264,7 @@ namespace extract {
|
||||||
if (std::find_if(titles.begin(), titles.end(), [&filename, offset](std::string title) {
|
if (std::find_if(titles.begin(), titles.end(), [&filename, offset](std::string title) {
|
||||||
return caselessCompare((title.substr(0, 13)), filename.substr(offset, 13));
|
return caselessCompare((title.substr(0, 13)), filename.substr(offset, 13));
|
||||||
}) != titles.end()) {
|
}) != titles.end()) {
|
||||||
extractEntry(filename, zfile, true);
|
extractEntry(filename, zfile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue