| 5 | #include "common.h" |
| 6 | |
| 7 | bool RunConfig() |
| 8 | { |
| 9 | // Get the bwapi-data directory |
| 10 | const std::string sBWAPIConfig{ GetBWAPIDataDirectory() + "/bwapi.ini" }; |
| 11 | |
| 12 | // Open the config file |
| 13 | if (reinterpret_cast<int>(ShellExecuteA(NULL, "open", sBWAPIConfig.c_str(), NULL, NULL, SW_SHOWNORMAL)) <= 32) |
| 14 | return BWAPIError("Unable to open BWAPI config file."); |
| 15 | |
| 16 | return true; |
| 17 | } |
| 18 |
no test coverage detected