| 422 | } |
| 423 | |
| 424 | std::vector<Executable> ExecutableManager::CreateDefaultExecutables() const { |
| 425 | std::vector<Executable> new_executables; |
| 426 | |
| 427 | for (std::size_t name_index = 0, name_count = std::size(::defaults_executables); name_index < name_count; ++name_index) { |
| 428 | const Executable executable(::defaults_executables[name_index]); |
| 429 | |
| 430 | if (executable.path.Empty()) { |
| 431 | continue; |
| 432 | } |
| 433 | |
| 434 | new_executables.push_back(executable); |
| 435 | } |
| 436 | |
| 437 | return new_executables; |
| 438 | } |
| 439 | |
| 440 | std::vector<Executable> ExecutableManager::RemoveMissingExecutables(const std::vector<Executable>& executables) const { |
| 441 | std::vector<Executable> valid_applications; |