mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-11-09 12:01:44 +00:00
use libnx's functions instead of the standard library's
This commit is contained in:
parent
2c4d930b5f
commit
d87a960aed
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ namespace util {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case contentType::fw:
|
case contentType::fw:
|
||||||
if (std::filesystem::exists(FIRMWARE_PATH)) std::filesystem::remove_all(FIRMWARE_PATH);
|
fs::removeDir(FIRMWARE_PATH);
|
||||||
fs::createTree(FIRMWARE_PATH);
|
fs::createTree(FIRMWARE_PATH);
|
||||||
extract::extract(FIRMWARE_FILENAME, FIRMWARE_PATH);
|
extract::extract(FIRMWARE_FILENAME, FIRMWARE_PATH);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue