1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-24 18:42:05 +00:00

use libnx's functions instead of the standard library's

This commit is contained in:
flb 2022-11-05 18:30:42 +01:00
parent 2c4d930b5f
commit d87a960aed

View file

@ -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;