mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
Remove usage of PathUtil from IniProcess.cpp
This commit is contained in:
parent
aea73605d4
commit
f0329f5da1
1 changed files with 1 additions and 5 deletions
|
@ -126,18 +126,14 @@ void nstool::IniProcess::extractKipList()
|
||||||
|
|
||||||
// out path for extracted KIP
|
// out path for extracted KIP
|
||||||
tc::io::Path out_path;
|
tc::io::Path out_path;
|
||||||
std::string out_path_str;
|
|
||||||
|
|
||||||
// extract KIPs
|
// extract KIPs
|
||||||
for (auto itr = mKipList.begin(); itr != mKipList.end(); itr++)
|
for (auto itr = mKipList.begin(); itr != mKipList.end(); itr++)
|
||||||
{
|
{
|
||||||
out_path = mKipExtractPath.get();
|
out_path = mKipExtractPath.get();
|
||||||
out_path += fmt::format("{:s}.kip", itr->hdr.getName());
|
out_path += fmt::format("{:s}.kip", itr->hdr.getName());
|
||||||
|
|
||||||
tc::io::PathUtil::pathToUnixUTF8(out_path, out_path_str);
|
|
||||||
|
|
||||||
if (mCliOutputMode.show_basic_info)
|
if (mCliOutputMode.show_basic_info)
|
||||||
fmt::print("Saving {:s}...\n", out_path_str);
|
fmt::print("Saving {:s}...\n", out_path.to_string());
|
||||||
|
|
||||||
writeStreamToFile(itr->stream, out_path, cache);
|
writeStreamToFile(itr->stream, out_path, cache);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue