tools/eupak: Clean up create command a touch
This commit is contained in:
parent
a5642f2365
commit
ee47b0eaa7
1 changed files with 5 additions and 4 deletions
|
@ -65,7 +65,8 @@ namespace eupak {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FileWriteEnd:
|
case FileWriteEnd:
|
||||||
progress.set_option(indicators::option::PostfixText { "Written " + event.targetFileName });
|
// ?
|
||||||
|
//progress.set_option(indicators::option::PostfixText { "Written " + event.targetFileName });
|
||||||
progress.tick();
|
progress.tick();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -202,7 +203,7 @@ namespace eupak {
|
||||||
std::cout << "Writing a sector aligned package\n";
|
std::cout << "Writing a sector aligned package\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
indicators::ProgressBar progress {
|
indicators::ProgressBar addProgress {
|
||||||
indicators::option::BarWidth { 50 },
|
indicators::option::BarWidth { 50 },
|
||||||
indicators::option::ForegroundColor { indicators::Color::green },
|
indicators::option::ForegroundColor { indicators::Color::green },
|
||||||
indicators::option::MaxProgress { fileCount },
|
indicators::option::MaxProgress { fileCount },
|
||||||
|
@ -233,7 +234,7 @@ namespace eupak {
|
||||||
if(c == '/')
|
if(c == '/')
|
||||||
c = '\\';
|
c = '\\';
|
||||||
|
|
||||||
progress.set_option(indicators::option::PostfixText { relativePathName + " (" + std::to_string(currFile + 1) + '/' + std::to_string(fileCount) + ")" });
|
addProgress.set_option(indicators::option::PostfixText { relativePathName + " (" + std::to_string(currFile + 1) + '/' + std::to_string(fileCount) + ")" });
|
||||||
|
|
||||||
eio::pak::File file;
|
eio::pak::File file;
|
||||||
eio::pak::FileData pakData = eio::pak::FileData::InitAsPath(ent.path());
|
eio::pak::FileData pakData = eio::pak::FileData::InitAsPath(ent.path());
|
||||||
|
@ -252,7 +253,7 @@ namespace eupak {
|
||||||
});
|
});
|
||||||
|
|
||||||
files.emplace_back(std::make_pair(relativePathName, std::move(file)));
|
files.emplace_back(std::make_pair(relativePathName, std::move(file)));
|
||||||
progress.tick();
|
addProgress.tick();
|
||||||
currFile++;
|
currFile++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue