mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2025-03-03 04:35:34 +00:00
Don't ever disable nx-ovlloader sysmodule
This commit is contained in:
parent
47ce9d479e
commit
1521432ff3
1 changed files with 2 additions and 1 deletions
|
@ -302,7 +302,8 @@ namespace util {
|
|||
void removeSysmodulesFlags(const std::string& directory)
|
||||
{
|
||||
for (const auto& e : std::filesystem::recursive_directory_iterator(directory)) {
|
||||
if (e.path().string().find("boot2.flag") != std::string::npos) {
|
||||
if (e.path().string().find("boot2.flag") != std::string::npos &&
|
||||
e.path().string().find("420000000007E51A") == std::string::npos) {
|
||||
std::filesystem::remove(e.path());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue