* @return Whether game-data has been found */
| 412 | * @return Whether game-data has been found |
| 413 | */ |
| 414 | static bool hasGameData() |
| 415 | { |
| 416 | const bool recursive = true; |
| 417 | std::list<std::string> gamefiles = Utils::getFilesInDirectory(CONTENT_BASE_PATH + "/Gothic", "vdf", recursive); |
| 418 | |
| 419 | // Check for a crucial game file to be there |
| 420 | return !gamefiles.empty(); |
| 421 | } |
| 422 | |
| 423 | /** |
| 424 | * Extracts a given gothic installer executable |
no test coverage detected