mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
[script] Properly use all script file extensions.
This commit is contained in:
parent
78d112d890
commit
4bf2c07e1e
1 changed files with 3 additions and 1 deletions
|
|
@ -104,7 +104,9 @@ int main(int argc, char *argv[]) {
|
|||
func(p.string());
|
||||
} else if (fs::is_directory(p)) {
|
||||
auto files = enumerate_files_like(p, ".*\\.scr", false);
|
||||
auto files2 = enumerate_files_like(p, ".*\\.QST", false);
|
||||
auto files2 = enumerate_files_like(p, ".*\\.SCR", false);
|
||||
files.insert(files2.begin(), files2.end());
|
||||
files2 = enumerate_files_like(p, ".*\\.QST", false);
|
||||
files.insert(files2.begin(), files2.end());
|
||||
for (auto &f : files) {
|
||||
std::cout << "processing: " << f << "\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue