| 364 | } |
| 365 | |
| 366 | bool ExecutableManager::RenameActiveExecutable(const Path& executable_path) { |
| 367 | if (this->GetActiveExecutable() == nullptr) { |
| 368 | return false; |
| 369 | } |
| 370 | |
| 371 | this->GetActiveExecutable()->path = executable_path; |
| 372 | this->last_path_executable = executable_path; |
| 373 | this->active_executable = executable_path; |
| 374 | |
| 375 | return true; |
| 376 | } |
| 377 | |
| 378 | bool ExecutableManager::UpdateConfigurations(std::vector<Path>& updated_executable_paths) { |
| 379 | int result = 0; |